const BigNumber = require('bignumber.js') const bigSorting = arr => arr.sort( (a, b) => new BigNumber(a).comparedTo(new BigNumber(b)) )
function bigSorting(unsorted) { return unsorted.sort(function(a,b) { return a -b; }); }
comparedTo
BigNumber
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)