Quicksort with partitionning.