public void  qckSort(Card [] cardArray, int left, int right){
      Card pivot = cardArray[left + (right - left) / 2];
      int leftable = left; 
      int rightable = right; 

      while (leftable <= rightable){
        while(cardArray[leftable].compareTo(pivot) < 0 ){
          leftable++;
        }

        while(cardArray[rightable].compareTo(pivot) > 0){
          rightable--;
        }

        if(leftable <= rightable){
          swap(leftable,rightable);
          leftable++;
          rightable--;
        }
      }
      if(left < rightable)
        qckSort(cardArray, left, rightable);
      if(leftable < right)
        qckSort(cardArray, leftable, right);

     }