Re: [whatwg/url] Sort URLSearchParams prior to stringification (#26)

If this were to happen, having the new `sort()` operate the same basic way as `Array.prototype.sort()` would be ideal, I think. Sort in place with the default sorting on the Unicode codepoint of the keys without value sorting, but allowing a `compareFunction` to be passed in. The function should sort in place and not be stable.

The reason for the default sort not affecting the value order is that ordering of the values can be significant. We should not assume that it's ok to move the order of the values around.

-- 
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/url/issues/26#issuecomment-271600764

Received on Tuesday, 10 January 2017 15:14:26 UTC