Add optimized quicksort (w/David).