diff --git a/system/ui/lib/wifi_manager.py b/system/ui/lib/wifi_manager.py index 8dd2bb479b..afd2f947ed 100644 --- a/system/ui/lib/wifi_manager.py +++ b/system/ui/lib/wifi_manager.py @@ -399,6 +399,7 @@ class WifiManager: known_connections = self._get_connections() self._networks = [Network.from_dbus(ssid, ap_list, active_ap_path, self._connection_by_ssid(ssid, known_connections) is not None) for ssid, ap_list in aps.items()] + self._networks.sort(key=lambda n: (-n.is_connected, -n.strength, n.ssid.lower())) if self._networks_updated is not None: self._networks_updated(self._networks)