matching vs categorizing credit card payment from bank account

matching vs categorizing credit card payment from bank account

I have a checking and a credit card in my Banking accounts. When there is a card payment (basically, a transfer from one to the other), does it make a difference which one I categorize first, then match with the other? I noticed when looking at the checking account transactions under Matched, not all of them are there because some of the payments are listed as Matched in the credit card account. Should these all be the same, or does it matter?