sortByNumeric method

Map<K, V> sortByNumeric(
  1. TFuncMapper<V, num> funcMapper, [
  2. bool descending = false
])

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();
}