It seems like stable sort will be discussed in the 66th meeting of TC39.
I hope for good news!

https://github.com/tc39/agendas/blob/master/2018/09.md#agenda-items


On 2018/09/12 12:02, kai zhu wrote:
+1

it would avoid stable-sort workarounds like this [1], [2] for 
javascript-database implementations.

[1] testable, deterministic, stable-sort workaround for querying rows from 
db-lite
https://github.com/kaizhu256/node-db-lite/blob/2018.4.23/lib.db.js#L1010

[2] accompanying integration-tests to ensure reproducible, sorted db-queries
https://github.com/kaizhu256/node-db-lite/blob/2018.4.23/test.js#L64

kai zhu
[email protected] <mailto:[email protected]>



On 12 Sep 2018, at 5:09 AM, 森建 <[email protected] 
<mailto:[email protected]>> wrote:

`Array#sort` is stable in Chrome 70.
https://twitter.com/mathias/status/1036626116654637057

All modern browsers (and IE 11) have stable sort with `Array#sort`. Would you like 
to mention `Array#sort` must be a stable sort on specification (>=ES2019)?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to