Rocked insertion sort.