From 519818ce04e38baafaff4ea2abed108ec2714188 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Tue, 16 Aug 2022 22:49:02 +0800 Subject: [PATCH] [import-main-matcher] sort matched transactions' accounts --- gnucash/import-export/import-main-matcher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gnucash/import-export/import-main-matcher.c b/gnucash/import-export/import-main-matcher.c index 27cffb2ae4..2b6cb667af 100644 --- a/gnucash/import-export/import-main-matcher.c +++ b/gnucash/import-export/import-main-matcher.c @@ -1897,6 +1897,7 @@ get_peer_acct_names (Split *split) accounts_seen = g_list_prepend (accounts_seen, account); g_free (name); } + names = g_list_sort (names, (GCompareFunc)g_utf8_collate); retval = gnc_g_list_stringjoin (names, ", "); g_list_free_full (names, g_free); g_list_free (accounts_seen);