Dropping from 2 dimensional lists to single dimensional lists would simplify your problem considerably.
Consider combining the suit (S=Spades, H=Hearts, D=Diamonds, C=Clubs) and the value (01=Ace, 02-10, 11=Jack,12=Queen,13=King) into text representations of each card, like
- 01S = Ace of Spades
- 13H = King of Hearts
- 03C = Three of Clubs
That gives you unique card IDs, that fit well with using the text Segment block for extraction of value and suit from the card name, and the leading zeroes let you compare numerically using text comparison.
Numerical values can be used as indexes into a constant list of value names ("Ace", Two", ...,"Queen", "King")