Skip to content
Snippets Groups Projects
Commit dff7aecd authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

Sort directory listings

parent b6474c47
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ class Variable:
directory = pathlib.Path(value_config["directory"]).expanduser()
assert directory.exists() and directory.is_dir()
values = list(directory.iterdir())
values = sorted(list(directory.iterdir()))
if value_config.get("basename", False):
values = [v.name for v in values]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment