diff --git a/src/routes/(app)/matches/[id]/+page.svelte b/src/routes/(app)/matches/[id]/+page.svelte
index 9c47154..4c08a34 100644
--- a/src/routes/(app)/matches/[id]/+page.svelte
+++ b/src/routes/(app)/matches/[id]/+page.svelte
@@ -530,7 +530,12 @@
{#if game.state === 'FINISHED' && game.scores?.length > 0}
- {#each game.scores as s}
+ {#each [...game.scores].sort((a: any, b: any) => {
+ if (config.scoringType === 'accuracy') return b.accuracy - a.accuracy;
+ if (config.scoringType === 'combo') return b.maxCombo - a.maxCombo;
+ if (config.scoringType === 'pp') return (b.pp ?? 0) - (a.pp ?? 0);
+ return b.score - a.score;
+ }) as s}
{@const username = playerNames[s.player?.userId]}
{username ?? s.player?.userId ?? '?'}