htmlreport: Generate file list sorted by file name

At the moment all files are processed randomly, because of the error grouping. With this patch all files are processed by their directory and name. The resulting index.html is now sorted by file name.