@rimbu/sorted
Immutable SortedMap and SortedSet implementations for TypeScript
insort
Map, Set, and Object subclasses that efficiently maintain a sorted iteration order.
dsjslib
Implementation of commonly used data structures and utilities in JavaScript.