def checkio(numbers_array: tuple) -> list:
x=[]
for n in numbers_array:
x.append(n)
if len(x) == 1:
continue
if len(x) >= 2:
while abs(n)<abs(x[x.index(n)-1]):
x.insert(x.index(n)-1,n)
del x[x.index(n)+2]
return x

plese tell me where is wrong!

Created at: March 24, 2019, 3:17 p.m.; Updated at: March 25, 2019, 12:55 p.m.

The question is resolved.