public void TestSortDeck()
        {
            Deck testDeck1 = new Deck();
            testDeck1.Shuffle();
            testDeck1.Sort();
            Deck testDeck2 = new Deck();
            testDeck2.Sort();

            //Since I get to make up what sort order is, as long as it is consistaant the test should pass.
            Assert.IsTrue(testDeck1.Cards.SequenceEqual(testDeck2.Cards));
        }
 public ActionResult Sort()
 {
     Deck deck = new Deck();
     deck.Sort();
     return View("Index", deck);
 }
 public ActionResult Sort(Deck deck)
 {
     deck.Sort();
     return View("Index", deck);
 }