We order messages in the newsfeed according to a score, which depends on:
- the date since publication;
- the nature of the item (post, reaction, new course, etc.);
- the author (admin, learner);
- the contents (text, documents, links, mentions);
- the engagement(number of reactions, answers).
In case of equality, we favor the most recent message.