I have an object that looks like this:
var foo = {
    284366: 3, 
    285286: 1, 
    285614: 2
} 
How can I turn it into:
var foo = {
    285286: 1, 
    285614: 2,
    284366: 3
} 
I have an object that looks like this:
var foo = {
    284366: 3, 
    285286: 1, 
    285614: 2
} 
How can I turn it into:
var foo = {
    285286: 1, 
    285614: 2,
    284366: 3
} 
