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