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

@domenic and I were discussing this issue this evening; one suggestion, inspired by Roma’s post,  was to have an API that accepts the name of an attribute and sorts by its value (with an optional comparison function if the standard string-sorting algo wasn't sufficient).

@domenic had another, more generic approach of passing a function or method, the details of which I've now forgotten. :(

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

Received on Thursday, 8 March 2018 16:55:44 UTC