.sort strange behavior

Cyril Auburtin cyril.auburtin at gmail.com
Sat Oct 21 13:06:40 UTC 2017


Oh thanks right, alphabetical order by default so

2017-10-21 15:00 GMT+02:00 Damian Senn <damian.senn at gmail.com>:

> Hi Cyril
>
> Array#sort does string comparisons by default:
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/
> Reference/Global_Objects/Array/sort
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171021/b0776686/attachment.html>


More information about the es-discuss mailing list