From 1daf4f6e3aeecb40cfcca5c7268e3e69d5412b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Fri, 26 Jun 2020 13:29:08 -0400 Subject: [PATCH] WIP --- bazarr/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/filesystem.py b/bazarr/filesystem.py index 78bf2f21c..f6d94c6ae 100644 --- a/bazarr/filesystem.py +++ b/bazarr/filesystem.py @@ -31,7 +31,7 @@ def browse_bazarr_filesystem(path='#'): parent = os.path.dirname(path) - result = {'directories': data} + result = {'directories': sorted(data, key=lambda i: i['name'])} if path == '#': result.update({'parent': '#'}) else: