a simple flex application which counts the word duplicates and sorts the words alphabetically.