I have JSON object, which I want to sort it in certain way,
This is my object
{ "you": 100, "me": 75, "foo": 116, "bar": 15 }
And I want this object to be sorted in this order ['me', 'foo', 'you', 'bar']
which the object would become like this,
{ "me": 75, "foo": 116, "you": 100, "bar": 15 }
Is there anyway to achieve this ?