Now with in-place quicksort! Works, though maybe not fast enough.