From 2b3961aef0c2446ceaede416c7c8077712ca1470 Mon Sep 17 00:00:00 2001 From: Davide Date: Fri, 15 Nov 2024 00:00:57 +0100 Subject: [PATCH] Sort provider servers on iOS --- .../Views/Provider/iOS/VPNProviderServerView+iOS.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Passepartout/Library/Sources/AppUIMain/Views/Provider/iOS/VPNProviderServerView+iOS.swift b/Passepartout/Library/Sources/AppUIMain/Views/Provider/iOS/VPNProviderServerView+iOS.swift index 0f931b8f..d811c347 100644 --- a/Passepartout/Library/Sources/AppUIMain/Views/Provider/iOS/VPNProviderServerView+iOS.swift +++ b/Passepartout/Library/Sources/AppUIMain/Views/Provider/iOS/VPNProviderServerView+iOS.swift @@ -178,6 +178,9 @@ private extension VPNProviderServerView.ServersSubview { .filter { $0.provider.countryCode == code } + .sorted { + $0.provider.serverId < $1.provider.serverId + } .nilIfEmpty }