Consider the following.
var options = {'All':'All'}
options['123'] = '123';
options['456'] = '456';
console.log(options);
The output of the above is Object {123: "123", 456: "456", All: "All"}
, however, that is not what I want, I want to keep it's order and output as Object {All: "All", 123: "123", 456: "456"}
Why the ordering is damaged and how to avoid it?