mirror of
https://github.com/ahgsql/StyleSelectorXL.git
synced 2026-01-26 11:09:53 +00:00
sort styles by name alphabetically
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user