sort list of files generated by wildcard matches;

this is to guarantee that we generate the same output file on different systems, with possibly different file order
coming in