Ensure files are sorted before reading.
Ensure files are sorted before reading.