diff --git a/src/pages/index.astro b/src/pages/index.astro index 7ed3c57..4efd92d 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -20,7 +20,7 @@ const sortedPosts = chroniclesOnly.sort((a, b) => { // Si les dates sont identiques, on trie par titre (001, 002, etc.) if (dateDiff === 0) { - return a.data.title.localeCompare(b.data.title); + return b.data.title.localeCompare(a.data.title); } return dateDiff;