quick-sort-optimization