reverse the sort

This commit is contained in:
dylan 2024-04-02 19:09:22 -07:00
parent 11783ba2fb
commit df5423b294

View File

@ -104,7 +104,7 @@ export const getAuthorGames = async (where: {
return accum;
}, [] as {slug: string; releases: DbRelease[]}[]);
games.forEach(game => {
game.releases.sort(compareByVersion);
game.releases.sort(compareByVersion).reverse();
});
return games;
}