opt insertion sort