6. How can you use sorting to check if two words are anagrams of one another?

Sort the strings and compare them! That's it!