Finish insertion sort