Sort generated output by file name