sortReversed method
Sorts this list in reverse order in relation to the default sort method.
Implementation
void sortReversed([int Function(T a, T b)? compare]) {
if (compare != null)
sort((T a, T b) => compare(b, a));
else
sort((T a, T b) => compareObject(b, a));
}