# Group by in table component

**URL:** <https://community.glideapps.com/t/group-by-in-table-component/80216>\
**Category:** Feature Requests\
**Created:** [February 21, 2025, 11:50am UTC](https://community.glideapps.com/t/group-by-in-table-component/80216 "2025-02-21T11:50:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duarte\_Costa](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/duarte_costa/32/92850_2.png) [@Duarte\_Costa](https://community.glideapps.com/u/Duarte_Costa)\
**Post date:** [February 21, 2025, 11:50am UTC](https://community.glideapps.com/t/group-by-in-table-component/80216/1 "2025-02-21T11:50:45Z")

</div>

Either a group by or a second sorting column would be a nice feature to have in glide tables.  
It would prevent an error that sometimes happens in tables only (that I have seen) where you input the data and a few seconds or minutes later it swaps the order of the rows inserted.

If you could:

- Group by column 1, or sort it alphabetically throught column 1
- Then use another sorting for column 2
- you could use the second sorting as a safety mechanism (e.g. keep the time of entry as a second sorting to prevent row swaps)

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [February 21, 2025, 12:34pm UTC](https://community.glideapps.com/t/group-by-in-table-component/80216/2 "2025-02-21T12:34:41Z")

</div>

You need to vote on your own post.

---

<div class="post-metadata">

**Author:** ![Duarte\_Costa](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/duarte_costa/32/92850_2.png) [@Duarte\_Costa](https://community.glideapps.com/u/Duarte_Costa)\
**Post date:** [February 21, 2025, 12:53pm UTC](https://community.glideapps.com/t/group-by-in-table-component/80216/3 "2025-02-21T12:53:22Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![Curtis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtis/32/59826_2.png) [@Curtis](https://community.glideapps.com/u/Curtis)\
**Post date:** [February 21, 2025, 1:48pm UTC](https://community.glideapps.com/t/group-by-in-table-component/80216/4 "2025-02-21T13:48:17Z")

</div>

Been requesting this for a while

> [@Sort Group By Separately](https://community.glideapps.com/t/sort-group-by-separately/62740):
>
> Ability to set a separate Sort By for the Group By in Collections. This would enable you to sort the order of the groups and the order of the items inside each group. For example at the moment we have a table collection of orders. These are grouped by order status and sorted to show the groups in order of progression, pending to dispatched. But within each group it would be ideal to sort by order date so that the newest orders are displayed first. Currently we cant as we need the groups to b…
