Possible fix for the diff report, sorting the file list before using it