diff --git a/BlueMapCommon/webapp/src/components/Menu/MarkerSetMenu.vue b/BlueMapCommon/webapp/src/components/Menu/MarkerSetMenu.vue index 1bb6f604..6bfe6a7b 100644 --- a/BlueMapCommon/webapp/src/components/Menu/MarkerSetMenu.vue +++ b/BlueMapCommon/webapp/src/components/Menu/MarkerSetMenu.vue @@ -58,8 +58,8 @@ export default { return marker.type === "player" && (marker.name.includesCI(this.filter.search) || marker.playerUuid.includesCI(this.filter.search)); }).sort((a, b) => { if (this.filter.order === "label") { - let la = a.type === "player" ? a.name : a.label; - let lb = b.type === "player" ? b.name : b.label; + let la = (a.type === "player" ? a.name : a.label).toLowerCase(); + let lb = (b.type === "player" ? b.name : b.label).toLowerCase(); if (la < lb) return -1; if (la > lb) return 1; return 0;