Deck editor - Fixed a bug that the card list could not be sorted by color text.
*/
package mage.client.deckeditor.table;
+import java.util.Comparator;
import mage.cards.MageCard;
import mage.view.CardView;
-import java.util.Comparator;
-
/**
* {@link MageCard} comparator. Used to sort cards in Deck Editor Table View
* pane.
@@ -75,7 +74,7 @@ public class MageCardComparator implements Comparator<CardView> {
// Color
case 3:
aCom = a.getColorText();
- bCom = a.getColorText();
+ bCom = b.getColorText();
break;
// Type
case 4:
