Returns a sorted copy of the iterable
List<T> copySorted([int Function(T a, T b)? compare]) { final list = List<T>.from(this); list.sort(compare); return list; }