If I have a javascript object such as:
var list = { 'you': 100, 'me': 75, 'foo': 116, 'bar: 15};
is there a way to sort the properties based on value? So that I end up with
list = { 'bar':15, 'me': 75, 'you': 100, 'foo': 116 };
I'm having a real brain-dead moment regarding this.