Open
Description
like a normal map you insert key/value pairs into it, but unlike a normal map when you call seq on it, it is guaranteed to return the key/value pairs in order by the value, which is the "priority" that you pick.
https://github.com/clojure/data.priority-map
Possible use cases
keep a ranking of users
- could help to avoid using sort-by or reduce-kv each time