We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd92c20 commit ac43b36Copy full SHA for ac43b36
1 file changed
backend/app.py
@@ -32,7 +32,8 @@ def version():
32
def filelist():
33
root = Path(DATA_PATH).resolve()
34
db_files = []
35
- for file_path in root.rglob('*.db'):
+ for file_path in sorted(root.rglob('*.db'),
36
+ key=lambda x: str(x.relative_to(root)).casefold()):
37
if file_path.is_file():
38
rel_path = file_path.relative_to(root)
39
0 commit comments