From e2b3a45d8cef25f5f19432673256ca72b2e1313a Mon Sep 17 00:00:00 2001 From: rafapolo Date: Wed, 30 Sep 2026 19:10:58 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20suportes=20em=20ordem=20alfab=C3=A9tica?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/wall.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/wall.html b/web/wall.html index 423bb0a..a93bb2c 100644 --- a/web/wall.html +++ b/web/wall.html @@ -1550,7 +1550,7 @@ function setupFilters(mapData) { }); const selType = document.getElementById('f-type'); - [...typeCounts.entries()].sort((a, b) => b[1] - a[1]).forEach(([name, n]) => { + [...typeCounts.entries()].sort((a, b) => a[0].localeCompare(b[0], 'pt')).forEach(([name, n]) => { const opt = document.createElement('option'); opt.value = name; opt.textContent = `${name.replace('/', ' / ')} (${n.toLocaleString('pt-BR')})`; selType.appendChild(opt);