sort styles by name alphabetically

This commit is contained in:
mozman
2023-09-26 09:09:48 +02:00
parent e595597b2f
commit cf83728828

View File

@@ -34,7 +34,7 @@ def read_sdxl_styles(json_data):
if 'name' in item:
# Append the value of 'name' to the names list
names.append(item['name'])
names.sort()
return names