Clean up 3-way quick-sort