fixed problem with double words in wordSort2