.num_sort_asc
Arguments for .sort()
that sort an array of numbers in ascending order.
Syntax
array.sort(#fs.scripts.lib().num_sort_asc);
Parameters
No known parameters.
Return
Returns an array.
Example
function(context, args) {
const l = #fs.scripts.lib();
const my_array = [3006, 2001, 7, 42, 38];
return my_array.sort(l.num_sort_asc);
}