static void orderHand(Hand testHand)       
 {
     while (true){
     for (int x = 1; x < testHand.size();x++){
     if (testHand.get(x).getValue() < testHand.get(x-1).getValue())
         {
              Card card1 = testHand.get(x);
              Card card2 = testHand.get(x-1);
              testHand.setElementAt(card2, x);
              testHand.setElementAt(card1, x-1);
              
         }
     }
     int count = 0;
     for (int x = 1; x < testHand.size();x++){
     if (testHand.get(x).getValue() < testHand.get(x-1).getValue())
     count++;
     }
     if (count == 0) break;        
   }
 }