diff --git a/public/scripts/tags.js b/public/scripts/tags.js
index 0d913b2d8..f9976319d 100644
--- a/public/scripts/tags.js
+++ b/public/scripts/tags.js
@@ -455,7 +455,7 @@ function onViewTagsListClick() {
$(list).append('
Tags
Click on the tag name to edit it.
');
$(list).append('Click on color box to assign new color.
');
- for (const tag of tags.slice().sort((a, b) => a?.name?.localeCompare(b?.name))) {
+ for (const tag of tags.slice().sort((a, b) => a?.name?.toLowerCase()?.localeCompare(b?.name?.toLowerCase()))) {
const count = everything.filter(x => x == tag.id).length;
const template = $('#tag_view_template .tag_view_item').clone();
template.attr('id', tag.id);