Revert "Revert "Quick sort""

This reverts commit af6be0cb965322011dd1e5184423d138691e3140.