# Querystring param to sort group members last seen by descending?

**URL:** https://meta.discourse.org/t/querystring-param-to-sort-group-members-last-seen-by-descending/397350
**Category:** Support
**Created:** [February 28, 2026, 6:43pm UTC](https://meta.discourse.org/t/querystring-param-to-sort-group-members-last-seen-by-descending/397350 "2026-02-28T18:43:52Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [March 1, 2026, 7:48am UTC](https://meta.discourse.org/t/querystring-param-to-sort-group-members-last-seen-by-descending/397350/3 "2026-03-01T07:48:06Z")

</div>

I think you are not the first one who struggles with that

> [@Direct link to show group members in descending order not working](https://meta.discourse.org/t/direct-link-to-show-group-members-in-descending-order-not-working/256623):
>
> For listing members in a group, the [backend code](https://github.com/discourse/discourse/blob/71be74ffd32b39912d63c790a6547c11e96676f9/app/controllers/groups_controller.rb#L227) accepts order and asc parameters to order by a specific field in ascending/descending order. When the asc parameter is present and non-blank, it is the ascending order, otherwise descending. The [frontend code](https://github.com/discourse/discourse/blob/71be74ffd32b39912d63c790a6547c11e96676f9/app/assets/javascripts/discourse/app/controllers/group-index.js#L14) of the group members page also seems to be able to parse query parameters and pass to the backend. asc is true by default on the frontend. When I navigate to this link: [https://try.discourse.org/g/trust\_level\_2?order=added\_at&asc=](https://try.discourse.org/g/trust_level_2?order=added_at&asc=), I expect…

---

_[View the full topic](https://meta.discourse.org/t/querystring-param-to-sort-group-members-last-seen-by-descending/397350)._
