Anyone know of any good examples of a simple BTree implementation in Javascript? I have a bunch of "things" arriving randomly, and want to insert each one efficiently.
Ultimately, each new one will get inserted into the DOM based on where it ends up in the tree.
I can code this from scratch but would rather not reinvent any wheels.
thanks