It appears that _refresh_apps_with_apt_cache() uses return self.app_view.get_sort_mode() and that returns the wrong
value.
The reason is that display_matches() updates the combobox but get_sort_mode() is called before display_matches so
the combo is still using the old value.
It appears that _refresh_ apps_with_ apt_cache( ) uses return self.app_ view.get_ sort_mode( ) and that returns the wrong
value.
The reason is that display_matches() updates the combobox but get_sort_mode() is called before display_matches so
the combo is still using the old value.