[w3c/IndexedDB] index sorting (#173)

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

>    The records in an index are always sorted according to the record's key.

This allows for an index sorted by code unit, but this is often not the most useful sort order. Being able to define a natural language sort, such as one based on UCA, would be extremely useful. Otherwise implementations have to obtain the complete list of records and sort them in memory--which is kind of beside the point. Features such as key ranges and cursors are much less valuable if the database cannot be sorted in this way.

-- 
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/173

Received on Thursday, 23 March 2017 22:48:00 UTC