identify anagrams by sorting each character of the word alphabetically.