# Sort groups by activity

**URL:** <https://meta.discourse.org/t/sort-groups-by-activity/181474>\
**Category:** Support\
**Created:** [March 1, 2021, 2:24pm UTC](https://meta.discourse.org/t/sort-groups-by-activity/181474 "2021-03-01T14:24:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tasvir](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@Tasvir](https://meta.discourse.org/u/Tasvir)\
**Post date:** [March 1, 2021, 2:24pm UTC](https://meta.discourse.org/t/sort-groups-by-activity/181474/1 "2021-03-01T14:24:31Z")

</div>

Hi all,

We are using Discourse as a inquiry tool, that means users can post questions and we will process and hopefully solve it.  
We organized our markets by groups. For example the French market is a group for itself and the Italian market etc…

In order to analysize our markets more efficient it would be very useful to rank the groups/markets by their activity. For example: which group/market ist posting the most topics? How many topics are opened by the Italian market within a month? Etc…

I know that there is a ranking like this for the users. But is there something similar for groups? Is there any suitable plug in?

Thank you in advance!

Kind regards  
Tasvir

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [March 1, 2021, 2:49pm UTC](https://meta.discourse.org/t/sort-groups-by-activity/181474/2 "2021-03-01T14:49:37Z")

</div>

You can do it with the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin.

---

<div class="post-metadata">

**Author:** ![Tasvir](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@Tasvir](https://meta.discourse.org/u/Tasvir)\
**Post date:** [March 2, 2021, 1:54pm UTC](https://meta.discourse.org/t/sort-groups-by-activity/181474/3 "2021-03-02T13:54:07Z")

</div>

I am sorry but I don’t know how to create such a query.  
@pfaffman, do you maybe know how to create a query which shows the groups with the most activities (posts)?

Thank you!
