Adjust the QuickSort