lib/array.js
function $asce(params) {
    if (Array.isArray(params) && params.every(p => typeof p === 'number')) {
        return params.sort((a, b) => a - b);
    }
    throw new Error('$asce expects an array of number');
}
function $asce(params) {
    if (Array.isArray(params) && params.every(p => typeof p === 'number')) {
        return params.sort((a, b) => a - b);
    }
    throw new Error('$asce expects an array of number');
}
function $asce ( params ) { if ( Array . isArray ( params ) && params . every ( p => typeof p === 'number' ) ) { return params . sort ( ( a , b ) => a - b ) ; } throw new Error ( '$asce expects an array of number' ) ; }
Sort the numbers in ascending order

@param {number[]} params
@returns {number[]}
Sort the numbers in ascending order