I am having a problem while receiving a response from the server. The JSON has the following structure (as I can see on the network from the navigator):
{ "33": { "id": "...", "name":"..." }, "11": { "id": "...", "name":"..." }, "22": { "id": "...", "name":"..." } }
However, when I see the variable containing the response, the structure is changed and ordered like this:
{ "11": { "id": "...", "name":"..." }, "22": { "id": "...", "name":"..." }, "33": { "id": "...", "name":"..." } }
There is someway to mantain the same order that the actual response when I receive the variable response from the successfull callback of the request on angularJS?
Thanks in advance!