From 47a79256a25f91e167518cd7acf8bf2ff0f0d977 Mon Sep 17 00:00:00 2001 From: Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> Date: Tue, 11 May 2021 00:06:15 +0200 Subject: sort files by name --- download_files.py | 1 + 1 file changed, 1 insertion(+) (limited to 'download_files.py') diff --git a/download_files.py b/download_files.py index ea433e7..3addec3 100644 --- a/download_files.py +++ b/download_files.py @@ -40,6 +40,7 @@ def get_files_list(my_file): for elem in l1: if is_valid_file(elem[1:-1]) == True: valid_files.append(elem[1:-1]) + valid_files.sort() return valid_files def is_valid_file(tested_file): -- cgit