diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt index 549c4d97..b6a8c158 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt @@ -130,7 +130,10 @@ open class FinTsClient( response.getFirstSegmentById(InstituteSegmentId.AccountTransactionsMt940)?.let { transactions -> - return GetTransactionsResponse(response, transactions.bookedTransactions, transactions.unbookedTransactions, balance) + return GetTransactionsResponse(response, + transactions.bookedTransactions.sortedByDescending { it.bookingDate }, + transactions.unbookedTransactions, + balance) } return GetTransactionsResponse(response)