X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/ee99f155d35803cc802ce2a2200fb98cee015772..24d6cc542e4bce21c9a0dfa3a43e91c9d57fcc79:/apps/fileupload/views.py?ds=inline

diff --git a/apps/fileupload/views.py b/apps/fileupload/views.py
index 8863465c..d08bfd32 100644
--- a/apps/fileupload/views.py
+++ b/apps/fileupload/views.py
@@ -99,7 +99,7 @@ class UploadView(FormView):
             files = []
             path = self.get_safe_path()
             if os.path.isdir(path):
-                for f in os.listdir(path):
+                for f in sorted(os.listdir(path)):
                     file_info = {
                         "name": f,
                     }