sortRange method

void sortRange(
  1. int start,
  2. int end,
  3. int compare(
    1. E a,
    2. E b
    )
)

Sort a range of elements by compare.

Implementation

void sortRange(int start, int end, int Function(E a, E b) compare) {
  quickSortBy<E, E>(this, identity, compare, start, end);
}