Two sorted anagrams will be the same word