MDN states that Array.prototype.sort() sorts by UTF-16.
"The default sort order is ascending [...] comparing their sequences of UTF-16 code units values."
I need to be able to sort by UTF-8. Is there a good way to do this in the browser?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort