sortUnstableBy method

void sortUnstableBy(
  1. int compare(
    1. T a,
    2. T b
    )
)

Sorts the slice with a comparator function, but might not preserve the order of equal elements.

Implementation

void sortUnstableBy(int Function(T a, T b) compare) {
  _quickSortBy(this, _start, _end - 1, compare);
}