I’m doing an app that runs a contest for users where the app has to sum points earned for each user. So, for the Leaderboard, I have a custom list of users
which shows the username
. For each username
it sums their points.
Question: Is it possible for me to sort SUM of points in descending order?
Since the points aren’t in the users
table, I don’t have the ability to easily sort by that field. The points are coming from a picks
collection.