insertion sort
#insertion sort
def insert(arr):
for i in range(1,len(arr)):
while arr[i-1] > arr[i] and i > 0:
arr[i], arr[i-1] = arr[i-1], arr[i]
i -= 1
return arr
arr = [23, 55, 12, 99, 66, 33]
print(insert(arr))