2 ms·Behavior of .sort() in JavaScript2 points by tosh 8y agoavoidwork 8y agohttps://es5.github.io/#SortCompare https://es5.github.io/#SortCompare pretty sure it's been this way since 1.0