mob
verb
test()
var/list/l = list(20,40,30,50,10)
for(var/x = 1 to 5)//length(l)
if(l[x]>l[x+1])
world <<"Swapping [l[x]] and [l[x+1]]"
l.Swap(x,x+1)
world << l[x]
else
world << l[x]
Problem description: I'm trying to make this code put these numbers in order then display them
Call it on the list and it will be sorted.