Challenge
The optional task says to sort articles by user's preferences (matching topics).
This may put the older articles before the fresh ones.
Solution
The articles QuerySet should be ordered by publication date first, and then by user preferences.