Remove duplicates and realphabetize