show last updated first

This commit is contained in:
Kalle (Sendou) 2020-12-20 15:12:54 +02:00
parent 4e971c0a1e
commit 50815fb5e1

View File

@ -47,7 +47,7 @@ export function useBuildsByUser(userId?: number, weaponPool?: string[]) {
}
// 4) sort by creation time
return a.updatedAt.getTime() - b.updatedAt.getTime();
return b.updatedAt.getTime() - a.updatedAt.getTime();
});
return {