Added stable version of QuickSort.