aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pydis_site/apps/resources/views/resources.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pydis_site/apps/resources/views/resources.py b/pydis_site/apps/resources/views/resources.py
index 8ca08bd6..5b6350de 100644
--- a/pydis_site/apps/resources/views/resources.py
+++ b/pydis_site/apps/resources/views/resources.py
@@ -28,10 +28,10 @@ def resource_view(request: HttpRequest) -> HttpResponse:
template_name="resources/resources.html",
context={
"checkboxOptions": checkbox_options,
- "topics": RESOURCE_META_TAGS.get("topics"),
- "tag_types": RESOURCE_META_TAGS.get("type"),
- "payment_tiers": RESOURCE_META_TAGS.get("payment_tiers"),
- "complexities": RESOURCE_META_TAGS.get("complexity"),
+ "topics": sorted(RESOURCE_META_TAGS.get("topics")),
+ "tag_types": sorted(RESOURCE_META_TAGS.get("type")),
+ "payment_tiers": sorted(RESOURCE_META_TAGS.get("payment_tiers")),
+ "complexities": sorted(RESOURCE_META_TAGS.get("complexity")),
"resources": get_resources_from_search(checkbox_options)
}
)