def name(g):
    params = g
    for K in params:
        for S in params:
            if S > K:
                params[params.index(S)],params[params.index(K)]=params[params.index(K)],params[params.index(S)]
    return params
print(name([1,2,1,3]))

Embed on website

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