diff --git a/packages/pl-fe/src/queries/settings/use-backups.ts b/packages/pl-fe/src/queries/settings/use-backups.ts index f943d4713..70c7fe205 100644 --- a/packages/pl-fe/src/queries/settings/use-backups.ts +++ b/packages/pl-fe/src/queries/settings/use-backups.ts @@ -10,7 +10,7 @@ const useBackupsQuery = () => { return useQuery({ queryKey: ['settings', 'backups'], queryFn: () => client.settings.getBackups(), - select: (backups) => backups.toSorted((a, b) => a.inserted_at.localeCompare(b.inserted_at)), + select: (backups) => backups.toSorted((a, b) => b.inserted_at.localeCompare(a.inserted_at)), }); };