News for hackers. Stuff that matters.
Re:The Curious Case of JavaScript’s `sort` by fenomas on Wednesday April 13, 2016 @11:33AM (#11489045)
I think ECMA4 proposed behavior flags, so you could do:

    arr1.sort( Array.NUMERICAL | Array.DESCENDING )
    arr2.sort( Array.CASE_INSENSITIVE )
or similar.

There are no comments on this comment yet.