Completed quicksort - works for any pivot index