Is it possible to use 'Group by' with 'List Collection' and order the groups in alphabetical order while ordering the lists by date?

Is it possible to use ‘Group by’ with ‘List Collection’ and order the groups in alphabetical order while ordering the lists by date?

Try creating a query column that first sorts by date. Set the source of the collection to be the query. Then sort the collection by group. I know this hasn’t worked in some cases, but it might with a List collection.

1 Like

An alternative is getting the numeric version of the first character in each group, then use it in a math formula in tandem with the date to get a final number to sort. Something like:

Group Num*10^5 + YEAR(D)*10^4 + MONTH(D)*10^2 + DAY(D)

4 Likes

Thanks, @ThinhDinh! Very smart solution!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.