list = [66,55,77,33,11,44,22]
print(list)
list2 = []
for item in list:
index = 0
last = len(list2) - 1
for i in range(last,-1,-1):
if item < list2[i]:
index = i + 1
break
list2.insert(index,item)
print(list2)