Returns a sorted iterable of elements list.
Iterable<E> sorted([int Function(E a, E b)? compare]) { return toList()..sort(compare); }