SWIFT BEGINNER: How to assign values to deck of cards images and then compare them : How can I assign values to a deck of cards? Like A is high and 2 is low with images named c-2 to c-53?

This is my code so far, so I need to assign values to the numbers and also colours of the specific cards images(4 colours), and then compare the two to a correct or false statement.

*For example, 2 is the lowest, A is the highest, A and 2 mean choose a colour, 7 means play the same pile and if the same card comes up it is discarded.*

Thanks!

@IBOutlet weak var leftPile: UIImageView!

@IBOutlet weak var rightPile: UIImageView!

@IBOutlet weak var player1Cards: UIImageView!

@IBOutlet weak var player2Cards: UIImageView!

@IBOutlet weak var cardsAmount: UILabel!

@IBOutlet weak var cardsAmount2: UILabel!

@IBAction func deal(_ sender: Any) {

    let shuffled = (2...53).shuffled()

    let leftNumber = shuffled[0]

    let rightNumber = shuffled[1]

    let player1Deck = shuffled[2]

    let player2Deck = shuffled[3]

    cardsNumber -= 1
    cardsNumber2 -= 1

    leftPile.image = UIImage(named: "c\(leftNumber)")
    rightPile.image = UIImage(named: "c\(rightNumber)")
    player1Cards.image = UIImage(named: "c\(player1Deck)")
    player2Cards.image = UIImage(named: "c\(player2Deck)"

}