public void sort(Buffer a, int lo, int hi, Comparator<? super K> c) {
        timSort.sort(a, lo, hi, c);
    }
Sorts the input buffer within range [lo, hi).
indexr-query-opt/src/main/java/org/apache/spark/util/collection/Sorter.java