update the QuickSort a little