diff --git a/src/fairchem/core/datasets/base_dataset.py b/src/fairchem/core/datasets/base_dataset.py index fd0aca5a1..13e07749d 100644 --- a/src/fairchem/core/datasets/base_dataset.py +++ b/src/fairchem/core/datasets/base_dataset.py @@ -58,7 +58,7 @@ def __init__(self, config: dict): if isinstance(config["src"], str): self.paths = [Path(self.config["src"])] else: - self.paths = tuple(Path(path) for path in config["src"]) + self.paths = tuple(Path(path) for path in sorted(config["src"])) self.lin_ref = None if self.config.get("lin_ref", False):