[#86778] Group and sort accounts in to-be-reconciled tables

I think that's a worthwhile refactor.