in place quicksort with eq partitioning