Universeorange.com/Docs/
ready(() => {
let list = [11, 1, 33, 154, 55, 15, 'd', 'n', 'a']
let list_sort = list.sort(_('_').naturalCompare);
console.log(list_sort);
});
Sort an array the natural way case sensitive
.
Last modified: 2021-06-07
© 2021 universeorange.com