sortByKeysNumeric method

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

Implementation

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