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