départ du tavernier
This commit is contained in:
@@ -20,7 +20,7 @@ const sortedPosts = chroniclesOnly.sort((a, b) => {
|
|||||||
|
|
||||||
// Si les dates sont identiques, on trie par titre (001, 002, etc.)
|
// Si les dates sont identiques, on trie par titre (001, 002, etc.)
|
||||||
if (dateDiff === 0) {
|
if (dateDiff === 0) {
|
||||||
return a.data.title.localeCompare(b.data.title);
|
return b.data.title.localeCompare(a.data.title);
|
||||||
}
|
}
|
||||||
|
|
||||||
return dateDiff;
|
return dateDiff;
|
||||||
|
|||||||
Reference in New Issue
Block a user