impractical-sorted-list
v1.1.3
Published
Ordena array de forma ascendente
Downloads
4
Maintainers
Readme
impractical-sorted-list
Forma impráctica pero interesante de ordenar arrays numéricos de forma ascendente
Instalar
Install with npm: npm i impractical-sorted-list
Example
Here is an example how to use this package as library.
const {ordenar_array} = require('impractical-sorted-list')
const list = [1,4,9,3,8,11,5,16,35,45];
var list_ordenada = ordenar_array(list)
console.log(list_ordenada)
// => [ 1, 3, 4, 5, 8, 9, 11, 16, 35, 45 ]