Does key order matter when comparing?
No. JSON objects are unordered by specification, so the comparator parses both inputs into objects before comparing. If {"a":1, "b":2} is compared to {"b":2, "a":1}, it correctly reports zero differences — the key order does not matter.