I\'ve been looking for a while and want a way to sort a Javascript object like this:
{ method: \'artist.getInfo\', artist: \'Green Day\', format:
Just use sorted stringify() when you need to compare or hash the results.