In JSON objects, by definition, the order of key-value pairs does not make sense. The specification allows the JSON producer to rearrange them in whatever way he wants, even arbitrarily, and does not require the parser to keep order. RFC 4627 says:
/ , - , - , , boolean, null, object array.
, JSON, , JSON.