code: public void sort(IndexedSortable s, int p, int r) {
      sort(s, p, r, null);
    }
docs: Sort the given range of items using quick sort.
  {@inheritDoc} If the recursion depth falls below {@link #getMaxDepth},
  then switch to {@link HeapSort}.