reordering the words list by length, and then alphabetically to get it to make longer matches when possible