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);