Nice implementation. We can also use this to do a `kthLargest` and other order statistics. Realize now I'll probably want ranking functions like pandas. Will open a feature eventually...