Thanks Mike. I currently remove duplicates with the scripting dictionary and then sort using one of the standard vb methods (e.g. bubble sort, etc.).