Fix ordering of games in category page, thanks to @szeraax
[stouyapi.git] / bin / import-game-data.php
index c1d3e6da6db07d6c586be0f650b74a9c93fddc4d..2c7aee6279a384b60760176f5f4b982c2f08e825 100755 (executable)
@@ -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);