Quicksort randomization for better worst case performance