You could simply store each word in a SortedSet and they would be arranged in alphabetical order then :P