Misc improvements to MergeSort, QuickSort, BubbleSort, and InsertSort code.