number1=int(input("first"))
number2=int(input("second"))
number2=int(input("second"))
number3=int(input("third"))
number4=int(input("four"))
number=[number1,number2,number3,number4]
for i in range(0,len(number)):
for j in range(0,len(number)):
if(number[j]>number[j+1]):
number[j],number[j+1]=number[j+1],number[j]
print(number)
IndexError
----> if (number [j]> number [j + 1]):
IndexError: вывести индекс из спискадиапазона *