For objects, the specification is that the order of the elements is not preserved. In other words, javascript does not guarantee any specific order for object properties.
You will need to use an array if you want to keep the order of the elements. In this case, your object can be rewritten to:
var arrobj = ['c','b','a'];
or
var arrobj = ['a','b','c'].reverse();
Given that the first index of the element will be 0 (zero)
source share