• Help!

Question related to mission Absolute Sorting

 
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!