My json object looks like this:
events:{ "2": { "action": "some value", "property": "some value" } "0": { "action": "some value", "property": "some value" } "1": { "action": "some value", "property": "some value" } } I need to sort the properties of the object. Is there anyway to do this? The result should be like this:
events:{ "0": { "action": "some value", "property": "some value" } "1": { "action": "some value", "property": "some value" } "2": { "action": "some value", "property": "some value" } }