GlitchSort, moving interior classes to separate files.
Correct comments in DocumentExport example.