sortByNumericByEntries method
Map<K, V>
sortByNumericByEntries(
- TFuncMapper<
MapEntry< funcMapper, [K, V> , num> - bool descending = false
Implementation
Map<K, V> sortByNumericByEntries(TFuncMapper<MapEntry<K, V>, num> funcMapper, [ bool descending = false ]) {
return this.entries.sortBy((MapEntry<K, V> kvp) => funcMapper(kvp), descending).asMap2();
}