diff --git a/src/templates/problems_paging.html b/src/templates/problems_paging.html
index 1aaaee7e..26b7f90e 100644
--- a/src/templates/problems_paging.html
+++ b/src/templates/problems_paging.html
@@ -143,10 +143,12 @@
{% if problem.is_note %}{{ problem.note_text }}{% endif %}
- {% for tag in problem.tags.all %}
+ {% with sorted_tags=problem.tags.all|dictsort:"name" %}
+ {% for tag in sorted_tags %}
{% ifchanged %} {% endifchanged %}
{{ tag.name }}
{% endfor %}
+ {% endwith %}
|
{% endfor %}