made dictionary file sorted by length then alphabetical order