Revised Quicksort