I have an object that varies in values and order of keys.
var obj = { extension50: {}, extension55: {}, main: {} }
Note I have "main" key placed out of order. It should be placed in the beginning so when someone iterates through keys of this object it would come up first.
What's the best way of achieving it?