gavinandresen/bitcoin-git — pull request #29 by petertodd (2013-01-18 05:46:19+00:00)
Title: Add option for random change address w/ random output order

Good demo of using an OrderedDict() with json.dump(), although better would be if the raw tx api accepted lists as well/instead of dicts.