Open
Description
I just noticed that when you run mypy on a large number of files, the errors don't come out sorted by filename, even if you pass the filenames in sorted order on the command line. I presume this is some kind of side effect of processing files in an order determined by the dependency graph.
Maybe we should just sort them all by filename? Or sort them back in the order in which they were passed on the command line (or expanded from packages/directories)?
It seems the Errors.sort_messages() method in mypy/errors.py could easily sort messages by filename; sorting them by original order would require the original order to be passed in to that function (not rocket science, but perhaps requiring some small refactoring).