# How to sort the group by in the table collection?

**URL:** <https://community.glideapps.com/t/how-to-sort-the-group-by-in-the-table-collection/83766>\
**Category:** Ask for Help\
**Created:** [August 11, 2025, 3:32am UTC](https://community.glideapps.com/t/how-to-sort-the-group-by-in-the-table-collection/83766 "2025-08-11T03:32:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CuriousGeorge](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curiousgeorge/32/59363_2.png) [@CuriousGeorge](https://community.glideapps.com/u/CuriousGeorge)\
**Post date:** [August 11, 2025, 3:32am UTC](https://community.glideapps.com/t/how-to-sort-the-group-by-in-the-table-collection/83766/1 "2025-08-11T03:32:00Z")

</div>

I’ve already seen and tried this post, but it only works in List Collection and not in Table Collection. Is there a solution for Table Collection?

> [@family\_man\_woman\_girl\_girl Grouping and Sorting TIPS and TRICKS](https://community.glideapps.com/t/grouping-and-sorting-tips-and-tricks/37046):
>
> Glide currently doesn’t have a way to sort an inline list by more than one field. So what happens when you want to group your inline list, define a sort order of the grouping AND sort within each group? You’ll need to use some ingenuity, and a combination of TEMPLATE and IF THEN ELSE columns. [[Glide: Grouping and Sorting TIPS and TRICKS] ](https://www.youtube.com/watch?v=I9Jc0LwFX6Q)

---

<div class="post-metadata">

**Author:** ![Lewis\_Parker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lewis_parker/32/91147_2.png) [@Lewis\_Parker](https://community.glideapps.com/u/Lewis_Parker)\
**Post date:** [August 11, 2025, 11:14am UTC](https://community.glideapps.com/t/how-to-sort-the-group-by-in-the-table-collection/83766/2 "2025-08-11T11:14:27Z")

</div>

Im not sure if there is a better way than what I do, but the below is my take on this.

I just have x amount of table components and filter the table to the group required and give each table a relevant group title

Of course, you can apply more filtering or in-table sorting then individually on each table. And organise them in the builder to order them how you wish

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 11, 2025, 11:10pm UTC](https://community.glideapps.com/t/how-to-sort-the-group-by-in-the-table-collection/83766/3 "2025-08-11T23:10:20Z")

</div>

My way to do this (assuming what you want is exactly grouping the inline list, and sort within each list by multiple columns), is to convert all relevant info into a number.

Something like numeric value of column one \* 10^2 + numeric value of sorting column two \* 10 would be a good point to start (difference between 10^2 and 10 is to make sure the final value respect the order of sorting it should have).

Works the same way if you need to sort the groups as well (put them inside the logic as the highest level).
