Created
October 29, 2018 19:27
-
-
Save maciejtrzcinski/ffc3b3c08ed274962c4c25cb2a2b5599 to your computer and use it in GitHub Desktop.
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
['Hängt', 'Haut', 'Hüllen', 'Hubert'].sort(function (a, b) { | |
return a.localeCompare(b); | |
}); | |
//["Hängt", "Haut", "Hubert", "Hüllen"] Good |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment