QuickSort method comprison