[i18n-activity] sorted list by code unit

aphillips has just created a new issue for https://github.com/w3c/i18n-activity:

== sorted list by code unit ==

> A sorted list is a DOMStringList containing strings sorted in ascending order by code unit.

While sorting by code unit is easy to do in (UTF-16) DOMString, it produces a perverse order for supplementary characters (i.e. those > U+FFFF). Shouldn't this be sorted by codepoint?

Note too that a list sorted by code unit/codepoint will not be accessible to users.

Please view or discuss this issue at https://github.com/w3c/i18n-activity/issues/362 using your GitHub account

Received on Tuesday, 14 March 2017 17:15:40 UTC