public ResultBag getSortedResultBag(SortKeyExtractor extractor, boolean reverse) {
    return new SortedResultBagImpl(extractor, reverse);
  }
Get a result bag that is sorted. The result set will be overflowed on to disk as necessary, but
it will not be recovered from disk.

@param extractor a callback to extract the index sort key from the object. The sort key is
       expected to be comparable.
@param reverse - true to reverse the natural order of the keys
geode-core/src/main/java/org/apache/geode/internal/cache/persistence/query/TemporaryResultSetFactory.java