[w3c/IndexedDB] sorted list by code unit (#179)

https://www.w3.org/TR/IndexedDB-2/#constructs

> 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.

Note that there is a sorting algorithm [here](https://www.w3.org/TR/IndexedDB-2/#key-construct) that works on code units

This is I18N comment https://github.com/w3c/i18n-activity/issues/362. Please add the i18n-comment label.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/179

Received on Thursday, 23 March 2017 23:01:26 UTC