Sort the file list so it is in a reliable order

So that the compile file is reliably the same no matter where or when it
is run.