organize a deck of cards in accending order
<p>Hi I wrote some code to print out a deck of cards</p>

<p>this is how is coming out: 2C  2D  2H  2S  3C  3D  3H  3S  4C...</p>

<p>this is how I want it : 2C 3C 4C 5C 6C...</p>

<p>here is part of my code :</p>

<pre><code>public DeckOfCards()
{
  for (PlayingCard.CardRank rank : PlayingCard.CardRank.values())   
    for (PlayingCard.CardSuit suit : PlayingCard.CardSuit.values())           
    {
       System.out.printf(" %c%c ", rank.getSymbol(),suit.getSymbol());
    }
}
</code></pre>

<p>I was planning on using a for loop, but I am not sure where to start any ideas?</p>
