diff --git a/allhighscores.php b/allhighscores.php index f5d0148..e3061fc 100644 --- a/allhighscores.php +++ b/allhighscores.php @@ -34,7 +34,7 @@ if($cid == -1) { (SELECT "Users_ID", "score" FROM "Highscores" WHERE "Categories_ID" = $1) h ON u."ID" = h."Users_ID" - ORDER BY "c_score", u."name" + ORDER BY "c_score" DESC, u."name" ASC LIMIT $2 OFFSET $3 ', array($cid, $limit, $offset))['data']; print_r($overview);