diff --git a/aqt/browser.py b/aqt/browser.py index 98464181a..0fa01c909 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -821,7 +821,7 @@ by clicking on one on the left.""")) root = self.CallbackItem(root, _("My Searches"), None) root.setExpanded(True) root.setIcon(0, QIcon(":/icons/emblem-favorite-dark.png")) - for name, filt in saved.items(): + for name, filt in sorted(saved.items()): item = self.CallbackItem(root, name, lambda s=filt: self.setFilter(s)) item.setIcon(0, QIcon(":/icons/emblem-favorite-dark.png"))