Sort files by modification date when testing streaming to preserve order