Sort, fix, and uniq-ize the names