que estrategia de sorting usa el sort de js code example
Example: ordenar numeros array javascript
numeros = [9,6,4,3,2,1,7,95,3,2,1]
console.log(numeros.sort());
//[1, 1, 2, 2, 3, 3, 4, 6, 7, 9, 95]
numeros = [9,6,4,3,2,1,7,95,3,2,1]
console.log(numeros.sort());
//[1, 1, 2, 2, 3, 3, 4, 6, 7, 9, 95]