WORDS-199: WordResultSorter.java (6, 8) // todo: use Java 8 approach