R=[3,2,3,3,4,1,-1,5,-5] 

ʀ=0
for A in range(len(R)-1):
    for a in range(len(R)-1):
        if R[a] > R[a+1]:
            ʀ = R[a]
            R[a] = R[a+1]
            R[a+1] = ʀ

print(R)
        
    
    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: