Sorting banks now alphabetically

This commit is contained in:
dankito 2020-09-27 00:53:36 +02:00
parent b5756c909f
commit d13ccaf871
1 changed files with 1 additions and 0 deletions

View File

@ -563,6 +563,7 @@ open class BankingPresenter(
open fun searchBanksByNameBankCodeOrCity(query: String?): List<BankInfo> { open fun searchBanksByNameBankCodeOrCity(query: String?): List<BankInfo> {
return bankFinder.findBankByNameBankCodeOrCity(query) return bankFinder.findBankByNameBankCodeOrCity(query)
.sortedBy { it.name }
} }
open fun findRecipientsForName(name: String): List<TransactionParty> { open fun findRecipientsForName(name: String): List<TransactionParty> {