sorting of payments and payees