I hereby claim:
- I am lumio on github.
- I am lumio (https://keybase.io/lumio) on keybase.
- I have a public key ASDl4FkX1ZhXp_jQ1ETk3qSQj0CXgLNWwkJ2B3wQ_vU7rgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const localeCompare = ( a, b ) => a.localeCompare( b, 'de' ); | |
const fruits = [ 'Äpfel', 'Ananas', 'Birnen' ].sort( localeCompare ); | |
console.log( fruits ); // [ 'Ananas', 'Äpfel', 'Birnen' ] |
const fruits = [ 'Äpfel', 'Ananas', 'Birnen' ].sort(); | |
console.log( fruits ); // [ 'Ananas', 'Birnen', 'Äpfel' ] |