From 887f524062d9ddd71378ca84dfe3ab0bdd235f63 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 25 Nov 2019 06:15:08 +0100 Subject: [PATCH 1/1] Fix ordering of games in category page, thanks to @szeraax --- bin/import-game-data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/import-game-data.php b/bin/import-game-data.php index c1d3e6d..2c7aee6 100755 --- a/bin/import-game-data.php +++ b/bin/import-game-data.php @@ -174,7 +174,7 @@ function buildDiscoverCategory($name, $games) usort( $games, function ($gameA, $gameB) { - return strcmp($gameB->title, $gameA->title); + return strcmp($gameA->title, $gameB->title); } ); $chunks = array_chunk($games, 4); -- 2.30.2