web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sort a List of Group M...
Power Automate
Unanswered

Sort a List of Group Members (Select) for Adaptive Card choices

(0) ShareShare
ReportReport
Posted on by 457

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'],')')

 

Screen Shot 2022-03-07 at 2.58.06 PM.png
Screen Shot 2022-03-07 at 2.59.22 PM.png
 
 
Categories:
I have the same question (0)
  • v-LilyW-msft Profile Picture
    on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard