I used following code to add element in JSON
jobs[job.id] = jobObject
job ids are returned in 110,81,195,126,112 sequence
but when i check final JSON
with alert(JSON.stringify(jobs))
it gives me output like
{"81":{"439":"none"},"110":{"386":0,"407":";^1^1^1^1^1"},"112":{},"126":{"440":"none"},"195":{"14":"20","400":"0"}}
which is sorted by id
why is it returned sorted and how can I get final JSON with same order ids are returned