Ensure files loaded in sorted order