|
|
|
|
|
by 1-more
513 days ago
|
|
I was JUST making a demo showing that sorting is different per locale (using String.prototype.localeCompare() in JS) and I was SHOCKED that Spanish no longer orders things "langosta, lugar, llama" but rather "langosta, llama, lugar." I had to redo things to do German vs Swedish sorting (In German, รค comes between a and b, whereas in Swedish it comes after z). So here I was thinking that the browsers were sorting naively, but in fact they are more with the times than I am. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... |
|