Sort imported profiles alphabetically

This commit is contained in:
Davide De Rosa 2018-10-27 12:23:17 +02:00
parent 7b7804091b
commit 5dcc9ff970
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ import SwiftyBeaver
private let log = SwiftyBeaver.self private let log = SwiftyBeaver.self
class ImportedHostsViewController: UITableViewController { class ImportedHostsViewController: UITableViewController {
private lazy var pendingConfigurationURLs = TransientStore.shared.service.pendingConfigurationURLs() private lazy var pendingConfigurationURLs = TransientStore.shared.service.pendingConfigurationURLs().sorted { $0.normalizedFilename < $1.normalizedFilename }
private var parsedFile: ParsedFile? private var parsedFile: ParsedFile?
weak var wizardDelegate: WizardDelegate? weak var wizardDelegate: WizardDelegate?