Re: [whatwg/dom] Add convenient, ergonomic, performant API for sorting siblings (#586)

If we define this as

1. Remove all children.
2. Sort.
3. Insert sorted children.

we could make it a primitive of sorts that generates a single mutation record. That would also ensure script doesn't have much chance of changing the world view too much.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/586#issuecomment-372090326

Received on Sunday, 11 March 2018 05:15:10 UTC