From 61b3b5354025e602178137be21b21ca97227f06d Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 4 Oct 2020 22:04:41 +0200 Subject: [PATCH] Sorting banks now case insensitive --- .../kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3db9f488..e4b51cd0 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 @@ -666,7 +666,7 @@ open class BankingPresenter( open fun searchBanksByNameBankCodeOrCity(query: String?): List { return bankFinder.findBankByNameBankCodeOrCity(query) - .sortedBy { it.name } + .sortedBy { it.name.toLowerCase() } } open fun findRecipientsForName(name: String): List {