sort sample obj by key before dumping to json
embed sample json in an ace editor for ez editing