sorting verbs and removing duplicate words