insertion sort, new array maker