Changed neighbor word enumerator to return words in alpha order