Revert "Fixed quicksort"

This reverts commit 12c3b0ae6ad459c444061970ef8ef6871aab58fe.