sort method

void sort([
  1. int compare(
    1. T a,
    2. T b
    )?
])

Iterable.sort.

Implementation

void sort([int compare(T a, T b)?]) {
  _list.sort(compare);
  notify();
}