diff --git a/analyzer/models.py b/analyzer/models.py index 490495a..efa1db3 100755 --- a/analyzer/models.py +++ b/analyzer/models.py @@ -32,7 +32,7 @@ class Deck(models.Model): def __unicode__(self): return self.name def get_cards(self): - return self.included_set.all().order_by('card__type__name') + return self.included_set.all().order_by('card__type__name', 'card__name') def card_count(self): return sum([i.count for i in self.included_set.all()]) def lands(self):