# Request: Sorting Enhancement

**URL:** <https://community.glideapps.com/t/request-sorting-enhancement/16371>\
**Category:** Feature Requests\
**Created:** [September 25, 2020, 6:56pm UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371 "2020-09-25T18:56:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [September 25, 2020, 6:56pm UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/1 "2020-09-25T18:56:33Z")

</div>

Two improvement requests:  
1.) Multiple ways to sort (eg. Sort by Status, then by Last name)  
2.) Sort grouping separately from list (Sort grouping 1-2-3, sort items in the list alphabetically)

---

<div class="post-metadata">

**Author:** ![Rosewebstudio](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rosewebstudio/32/12261_2.png) [@Rosewebstudio](https://community.glideapps.com/u/Rosewebstudio)\
**Post date:** [September 25, 2020, 8:25pm UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/2 "2020-09-25T20:25:37Z")

</div>

Great ideas, I can certainly see the benefits of these suggestions

---

<div class="post-metadata">

**Author:** ![Manan\_Mehta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manan_mehta/32/13957_2.png) [@Manan\_Mehta](https://community.glideapps.com/u/Manan_Mehta)\
**Post date:** [September 25, 2020, 10:11pm UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/3 "2020-09-25T22:11:43Z")

</div>

I implement workarounds when I want to do this but having this inbuilt will make life so much easier!

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [September 26, 2020, 2:03am UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/4 "2020-09-26T02:03:19Z")

</div>

Ya, this is what I’m doing now to achieve grouping in a particular order and then sorting alphabetically within one of the groups:

 ![Screen Shot 2020-09-25 at 10.02.37 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/963faca66aa178f66fdaa467e06b2a076f708032.png)

---

<div class="post-metadata">

**Author:** ![Fabrice\_BENARD](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fabrice_benard/32/20678_2.png) [@Fabrice\_BENARD](https://community.glideapps.com/u/Fabrice_BENARD)\
**Post date:** [January 28, 2021, 9:06am UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/5 "2021-01-28T09:06:13Z")

</div>

Hi,  
I found a simply way to sort list and groups alphabetically.  
In my app I have Category, subcategory and names.  
I have an inline list with names. I group them in subcategory.

To sort both groups and names alphabetically I just create a template column who concatenate “category subcategory name”. Elements are sort alphabetically first regarding the category, then the subcategory and finally the name so if you look for a subcategory, “names” in it are sort alphabetically too.

Finally I display the “sort by” to this template column and I display the “group by” to the subcategory.

Hope this can help 😉

---

<div class="post-metadata">

**Author:** ![MFAB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mfab/32/48625_2.png) [@MFAB](https://community.glideapps.com/u/MFAB)\
**Post date:** [October 1, 2022, 11:30pm UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/6 "2022-10-01T23:30:33Z")

</div>

Specifically for Inline List \> Options \> Group By I would like there to be an ORDER BY selection for defining the sort order of the Group headings similar to how the “SORT DATA” option is configured like so:

![sort-order-option](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/e/6ed9119f6033a789b59985ef3a5a0b3e8478b1e5.jpeg)

That way under Inline List \> Options it would look something like this:

SORT DATA

- Sort by \_\_\_\_\_\_\_\_\_\_\_ in \_\_\_\_\_\_\_\_\_ order

GROUP DATA

- Group by \_\_\_\_\_\_\_\_\_\_\_ in \_\_\_\_\_\_\_\_\_ order

I’m currently working on a list of “Work Items” (aka Tasks) grouped by “Project” and I would like the initial view in the app to modify the query output to the Inline List something like` ORDER BY projects.project DESC, workitems.workitem ASC;` .

A bonus would be to allow [in app control](https://community.glideapps.com/t/in-app-sorting/5004) of both the list and grouping sort orders similar to this announcement:

> [@twisted\_rightwards\_arrows In-app sorting](https://community.glideapps.com/t/in-app-sorting/5004):
>
> You can now let your app users choose how list screens should be sorted: To add in-app sort to your app, go to Features and add one or more columns to “In-app sort”: Let us know what you think!

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [October 1, 2022, 11:48pm UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/7 "2022-10-01T23:48:49Z")

</div>

Ya, I hear you. Use this method u til we get this natively:

Glide: Grouping and Sorting TIPS and TRICKS

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/0/70418ea7c3ee140854dc3a6430a47bb88652474b.jpeg "Glide: Grouping and Sorting TIPS and TRICKS") ](https://www.youtube.com/watch?v=I9Jc0LwFX6Q)

---

<div class="post-metadata">

**Author:** ![MFAB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mfab/32/48625_2.png) [@MFAB](https://community.glideapps.com/u/MFAB)\
**Post date:** [October 2, 2022, 2:16am UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/8 "2022-10-02T02:16:34Z")

</div>

That worked, thank you Robert! Since my data is coming from Airtable and my group items (Projects) are numerous and sorted in reverse order by year it was much easier for me to generate the concatenated “Projects+Tasks” sort field(s) in Airtable.

---

<div class="post-metadata">

**Author:** ![MFAB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mfab/32/48625_2.png) [@MFAB](https://community.glideapps.com/u/MFAB)\
**Post date:** [October 4, 2022, 9:20pm UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/9 "2022-10-04T21:20:43Z")

</div>

Any thoughts on Calendar list view under General\>Content\>Order having the ability to sort Date and Time with different methods e.g. by Date\>Newest first and Time\>Oldest first?

I think a workaround similar to what you showed in your video could work by using a standard list view after parsing the Day, Start Time, and End Time as three separate fields, etc.

I have a Calendar screen where I currently list all of my time sheet entries by `Content>Order>Newest first` which is peachy for listing the most current day first 👍🏼 but my OCD is nagging me a bit to list the individual time entries in chronological order within each day especially since the start time sits on top of the end time for each entry.

Any feedback is appreciated.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [October 4, 2022, 11:26pm UTC](https://community.glideapps.com/t/request-sorting-enhancement/16371/10 "2022-10-04T23:26:42Z")

</div>

In that case, don’t use a calendar style but rather a cards style. Then you can group by date and it will have a similar layout. You’ll need to be a bit creative with the layout, though.

 ![CleanShot 2022-10-04 at 19.26.17@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/7/779a40f4f7f8575f23f9189cee1258564f478d9b.jpeg)
