let numeros = [9,5,3,10,15,1];
let novo = numeros.sort(function (a,b) {
    return b - a;
});
console.log(novo)

Embed on website

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