Quick-sort w/ Pivot selection