I have an Adaptive Card that's posted in a Teams chat that gives the user a list of Group Members to choose from.
What's the best way to sort this list alphabetically?
TITLE: concat(item()?['displayName'],' (',item()?['jobTitle'],')')
Announcements
I have an Adaptive Card that's posted in a Teams chat that gives the user a list of Group Members to choose from.
What's the best way to sort this list alphabetically?
TITLE: concat(item()?['displayName'],' (',item()?['jobTitle'],')')
Hi @anthonys123
Please refer to the following blogs and see if they are helpful enough:
https://sharepains.com/2019/07/13/sort-an-array-power-automate/
http://johnliu.net/blog/2018/12/how-to-implement-sort-with-microsoft-flow-in-3-actions-within-a-loop
Hope the content above may help you.
Best Regards
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1