aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot.py b/bot.py
index 3a66ce4..3fab86b 100644
--- a/bot.py
+++ b/bot.py
@@ -49,6 +49,7 @@ def get_styles():
image = list(folder.glob('*.png'))[0]
video = list(folder.glob('*.mp4'))[0]
result.append(Style(s_id, name, source, image, video))
+ result.sort(key=lambda x: x.name)
return result