Re:The Curious Case of JavaScript’s `sort`
by xlm1717 on Wednesday April 13, 2016 @11:20AM
(#11488915)
It might have made more sense to not have default behavior and force the user to specify how they want to sort. They could also have done what PHP did and provided several different .sort functions depending on how you want to sort.
[ Parent
| on HN ]