Complete randomized quick sort