add insertion sort of array