diff --git a/flashcards/models.py b/flashcards/models.py index d74518f..e56633f 100644 --- a/flashcards/models.py +++ b/flashcards/models.py @@ -379,7 +379,7 @@ class Section(Model): def get_feed_for_user(self, user): cards = list(self.get_cards_for_user(user).exclude(userflashcard__user=user)) - cards.sort(key=lambda x: x.score) + cards.sort(key=lambda x: -x.score) return cards def get_cards_for_user(self, user):