I have the following JSON:
var somearr = {
"08":{val:blabla,val:blabla},
"09":{val:blabla,val:blabla},
"10":{val:blabla,val:blabla},
"11":{val:blabla,val:blabla},
...
"14":{val:blabla,val:blabla}
}
when doing
for ( i in somearr) {
console.log(i);
}
I got this sequence: 10, 11, ... 14, 08, 09
How can the original sort order be achieved?
Thanks in advance for help.