diff --git a/pysollib/ui/tktile/menubar.py b/pysollib/ui/tktile/menubar.py index 76e0a0ab0..a831b79de 100644 --- a/pysollib/ui/tktile/menubar.py +++ b/pysollib/ui/tktile/menubar.py @@ -1268,6 +1268,11 @@ def updateFavoriteGamesMenu(self): gi = self.app.getGameInfo(id) if gi: games.append(gi) + + def sort_func(gi): + return gi.name + + games.sort(key=sort_func) self.updateGamesMenu(submenu, games) state = self._getEnabledState in_favor = self.app.game.id in gameids