SortWithKeyExtension<E> extension
Provides a sortWithKey extension method on List.
- on
-
- List<
E>
- List<
Methods
-
sortWithAsyncKey<
K extends Comparable< (Object> >Future< K> key(E)) → Future<void> - A version of sortWithKey that allows the sort key to be computed asynchronously.
-
sortWithKey<
K extends Comparable< (Object> >K key(E)) → void - Sorts this List according to the computed sort key.