sort by yamaya

r=io.read
t=table
for i=1,r'*n'do t[i]=r'*n'end
t:sort()for i=-#t,0 do io.write(t[-i],' ')end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page