Make the QuickSort pivot strategy configurable
Move remaining global functions to QuickSorter prototype