From d13ccaf8711aa82e8796f32b6a3c84898637c2c4 Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 27 Sep 2020 00:53:36 +0200 Subject: [PATCH] Sorting banks now alphabetically --- .../kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt index 58ff68fb..eead0ad4 100644 --- a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt +++ b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt @@ -563,6 +563,7 @@ open class BankingPresenter( open fun searchBanksByNameBankCodeOrCity(query: String?): List { return bankFinder.findBankByNameBankCodeOrCity(query) + .sortedBy { it.name } } open fun findRecipientsForName(name: String): List {