classes in coverage report are unsorted
the report file python.txt does not follow the same order as automodule / :members:
this is true for the classes (these are keys of a dictionary and dictionaries are per default unsorted). functions and methods within classes are ok.
you could solve this by changing the loop around line 231 of coverage.py.
op.write('\n') if undoc['classes']: op.write('Classes:\n') - for name, methods in undoc['classes'].iteritems(): + for name, methods in sorted(undoc['classes'].items()): if not methods: op.write(' * %s\n' % name) else: