update find-words, sort words and output