# Sort Custom List by SUM Value not in Custom List Collection

**URL:** <https://forum.adalo.com/t/sort-custom-list-by-sum-value-not-in-custom-list-collection/3921>\
**Category:** Get Help\
**Created:** [September 9, 2020, 5:02pm UTC](https://forum.adalo.com/t/sort-custom-list-by-sum-value-not-in-custom-list-collection/3921 "2020-09-09T17:02:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aqsmith08](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@aqsmith08](https://forum.adalo.com/u/aqsmith08)\
**Post date:** [September 9, 2020, 5:02pm UTC](https://forum.adalo.com/t/sort-custom-list-by-sum-value-not-in-custom-list-collection/3921/1 "2020-09-09T17:02:58Z")

</div>

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.

![Screenshot from 2020-09-09 10-53-52](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/0/07057510d318b4e4068457e2bb139514060011bd.png)

**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.

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [September 14, 2020, 8:24am UTC](https://forum.adalo.com/t/sort-custom-list-by-sum-value-not-in-custom-list-collection/3921/2 "2020-09-14T08:24:49Z")

</div>

Unfortunately it’s not currently possible to sort by related properties. That would make for a great feature in the future though! Perhaps you could add a comment to this feature request? [Multiple Sorting for Lists | Voters | Adalo](https://ideas.adalo.com/feature-requests/p/multiple-sorting-for-lists)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 24, 2020, 8:24am UTC](https://forum.adalo.com/t/sort-custom-list-by-sum-value-not-in-custom-list-collection/3921/3 "2020-09-24T08:24:51Z")

</div>

Closed on September 24, 2020, 8:24am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
