@Override
    public int compare(EntryScore<K> o1, EntryScore<K> o2) {
      return Float.compare(o1.getScore(), o2.getScore());
    }
Compares scores of two entries using natural ordering. I.e. it returns -1 if the first entry's
score is less than the second one.
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/distributed/TopEntries.java