sort method

  1. @override
void sort([
  1. int compare(
    1. E a,
    2. E b
    )?
])
override

Sorts this list according to the order specified by the compare function.

Implementation

@override
void sort([int Function(E a, E b)? compare]) => _wrappedList.sort(compare);