sort medals alphabetically if all are equals

This commit is contained in:
Fabrice Lamant
2024-08-05 09:14:57 +02:00
parent e2fff8729a
commit afa35437a2

View File

@ -469,7 +469,7 @@ export class Calendar {
if (a.bronze !== b.bronze) {
return a.bronze < b.bronze ? 1 : -1;
}
return 0;
return a.name > b.name ? 1 : -1;
}).forEach((noc) => {
content.push(`<div class="collapse collapse-arrow bg-gray-100 mb-1">`);
content.push(` <input type="radio" name="accordion">`);