hr insertion sort 1