# IDK what this thing is tbh but it should sort everything
import math
from random import random
i=0
a=[]
while i<100 :
    a.append(round(100*random()))
    i=i+1
print(a) # print our list to see the changes
''' a[0],a[1] = a[1],a[0]
this is how you swap two items in a list btw '''
for n in range(0,len(a)-1) :
    while not a[n]<=a[n+1] :
        for i in range(len(a)-1) :
            if a[i]>a[i+1] :
                a[i],a[i+1] = a[i+1],a[i]
print(a)