Quicksort analysis