sort method
Implementation
void sort([int Function(T, T)? compare]) {
final temp = List<T>.from(value);
temp.sort(compare);
value = temp;
}
void sort([int Function(T, T)? compare]) {
final temp = List<T>.from(value);
temp.sort(compare);
value = temp;
}