Ordering by date, name

This commit is contained in:
marijo 2026-06-29 08:08:47 +00:00
parent 56fdb4fd1d
commit 01a38ba145

2
app.js
View file

@ -97,7 +97,7 @@ function sortRoutes(routeList) {
const dateB = b.date || "0000-00-00";
if (dateA !== dateB) {
return dateB.localeCompare(dateA);
return dateA.localeCompare(dateB);
}
return a.name.localeCompare(b.name, undefined, { sensitivity: "base" });