Completed SortAnagrams