Sort Index output while writing
Sort Index output while writing

This obviates the kind-of-neat itercontent() method, which may mean
slower or more complex. But that's theoretical anyway and was premature
optimization. Stable sorting of output is more important.

mcgid/morenines,mcgid/morenines