@Override
  public int compare(Comparable o1, Comparable o2) {
    return o1.compareTo(o2);
  }
A comparator which compares to objects in natural order.
geode-core/src/main/java/org/apache/geode/internal/cache/persistence/query/mock/NaturalComparator.java