Changed sorting of games to correct direction