hr insertion sort 2