Sort the files before testing