Sort a range of elements by compare.
compare
void sortRange(int start, int end, int Function(E a, E b) compare) { quickSortBy<E, E>(this, identity, compare, start, end); }