diff --git a/dj_iconify/util.py b/dj_iconify/util.py index 29d0ff1bd307148eaf9aa5c5c1f799fe3f69251f..10dcb4395e1bb0148fb93f3c122f1803a5f58be6 100644 --- a/dj_iconify/util.py +++ b/dj_iconify/util.py @@ -45,4 +45,4 @@ def icon_choices(collection: str) -> list[tuple[str, str]]: collection_file = os.path.join(JSON_ROOT, "json", f"{collection}.json") icon_set = IconifyJSON.from_file(collection_file) - return [(name, name) for name in icon_set.icons.keys()] + return [(name, name) for name in sorted(icon_set.icons.keys())]