Write a Cards class and a sortCards method such that it sorts a cards array argument such that cards are ordered in groups of Clubs < Diamonds < Hearts < Spades, and then by rank within their suit (where A(Ace)< 2 < 3 < … < 10 < J(Jack) < Q(Oueen) < K(King)). For example, the array ["8H","10H","QD","JD","4S"] (i.e., 8 of Hearts, 10 of Hearts, Queen of Diamonds, Jack of Diamonds, 4 of Spades) is sorted into the sorted array: ["JD","QD","8H","10H","4S"].Write a Cards class and a sortCards method such