Is it possible to have an Associate Array / Key Pair Array arranged in with random order of keys. Whenever, I am adding a new element, javascript is automatically sorting the keys.
For example,
When I'm creating an array as
a[T1001] ="B"
a[T1005] = "A"
a[T1003] ="C"
and later the array list is verified, I'm seeing that the array is automatically ordered as :
a[T1001]
a[T1003]
a[T1005]
Is it possible to retain the same order in which I am assigning the values to the array ?. I cannot use the Push method.. It creates an indexed array with the individual objects added as its values.