sortByNumericByEntries method

Map<K, V> sortByNumericByEntries(
  1. TFuncMapper<MapEntry<K, V>, num> funcMapper, [
  2. 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();
}