Insertion, merge, and merge-insertion sort