Separated out MergeSortAlgorithm and QuickSortAlgorithm.