insert sort algorithm using insort_left bisection