Various QuickSort implementations.