sortMapEntriesByKey<K, V> function
Returns a Map sorted by keys.
Implementation
Map<K, V?> sortMapEntriesByKey<K, V>(Map<K, V?> map, [bool reversed = false]) =>
sortMapEntries(
map, (a, b) => parseComparable(a.key)!.compareTo(b.key), reversed);