From f3e82306f5fcac4a45e070655983d5db8a6db513 Mon Sep 17 00:00:00 2001
From: Stefano Pigozzi <me@steffo.eu>
Date: Tue, 7 Jan 2025 17:44:43 +0100
Subject: [PATCH] Inplace what now

---
 holycow_frontend/src/app/board/page.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/holycow_frontend/src/app/board/page.tsx b/holycow_frontend/src/app/board/page.tsx
index 966cb2f..b56ddbb 100644
--- a/holycow_frontend/src/app/board/page.tsx
+++ b/holycow_frontend/src/app/board/page.tsx
@@ -5,7 +5,7 @@ import {PlayerO} from "@/holycow"
 export default async function Page() {
 	const resultsResponse = await fetch(`${process.env.BASE_URL}/api/results/`, {cache: "no-store"})
 	const results: PlayerO[] = await resultsResponse.json()
-	const ratedPlayers = results.filter(p => p.human_score !== null).toSorted((a, b) => a.human_score - b.human_score).toReversed()
+	const ratedPlayers = results.filter(p => p.human_score !== null).sort((a, b) => a.human_score - b.human_score).reverse()
 	
 	return (
 		<BoardBox