sort a JSON document alphabetically for human readability