change QuickSorter implementation