Add option to emit objects with keys in sorted order.

When enabled, this sacrifices memory efficiency.  But it's still
useful for objects with a really large top-level array of objects
where the entire array is too large to fit in memory but the
individual objects are smaller and can be loaded w/o problem.