From 649041173310d9ff966bd502c3b8478a1620ae99 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Fri, 6 Feb 2026 14:12:18 -0800 Subject: [PATCH] Fix: Sort tests numerically in UI --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 2f76c63..460d1bc 100644 --- a/index.html +++ b/index.html @@ -92,7 +92,7 @@ const testsRes=await fetch('https://api.github.com/repos/multipleof4/lynchmark/contents/tests'); const testsData=await testsRes.json(); - const tests=testsData.filter(d=>d.type==='dir').map(d=>d.name).sort(); + const tests=testsData.filter(d=>d.type==='dir').map(d=>d.name).sort((a,b)=>parseInt(a)-parseInt(b)); for(const model of models){ const sModel=model.replace(/[\/:]/g,'_');