More modification to quick sort.