docs: public static <T> int[] sort(
  		final Seq<? extends T> array,
  		final Comparator<? super T> comparator
  	) {
  		final IndexSorter sorter = array.size() < INSERTION_SORT_THRESHOLD
  			? InsertionSorter.INSTANCE
  			: HeapSorter.INSTANCE;
  
  		return sorter.sort(array, indexes(array.size()), comparator);
  	}