Ensure file traversal is ordered