Created
March 21, 2018 19:24
-
-
Save lumio/30bdf56e9b0fe18c3104997d5f91945a to your computer and use it in GitHub Desktop.
Sorting done wrong
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fruits = [ 'Äpfel', 'Ananas', 'Birnen' ].sort(); | |
console.log( fruits ); // [ 'Ananas', 'Birnen', 'Äpfel' ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment