Skip to content

Comment on HTML5Wowparent

Comments

or if he doesn't even feel like passing a custom comparator every time and just wants to default to increasing numerical order:

(function(){var a=function(a,b){return a>b},b=Array.prototype.sort;Array.prototype.sort=function(){return b.call(this,a)}})();

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.