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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Sort Work Titles alpha...
Power Apps
Unanswered

Sort Work Titles alphabetically

(0) ShareShare
ReportReport
Posted on by 50

I know this should be so simple, but I just can't get it to work! In my search bar, I'm searching by work title, director, lead and project manager. I want to have it ordered alphabetically by work title but I can't get the sort order working. Grrrrr....please save me before I lose it with Power Apps!

 

Here's the formula I'm using at the moment:

 

Filter('PMO Portfolio List',
StartsWith('Work Title',SearchInput_2.Text) ||
StartsWith('Assigned Director'.DisplayName,SearchInput_2.Text) ||
StartsWith('Assigned Lead / BPM Specialist'.DisplayName,SearchInput_2.Text) ||
StartsWith('Assigned Project Manager'.DisplayName,SearchInput_2.Text),
SortOrder.Ascending)

Categories:
I have the same question (0)
  • fnanfne Profile Picture
    260 on at

    Hi EuniceG11

     

    You need to wrap that up in a Sort function and add the Sort By column (for example the ID) like this

     

     

     

    Sort(Filter('PMO Portfolio List',
    StartsWith('Work Title',SearchInput_2.Text) ||
    StartsWith('Assigned Director'.DisplayName,SearchInput_2.Text) ||
    StartsWith('Assigned Lead / BPM Specialist'.DisplayName,SearchInput_2.Text) ||
    StartsWith('Assigned Project Manager'.DisplayName,SearchInput_2.Text), ID,
    SortOrder.Ascending))

     

     

     

  • EuniceG11 Profile Picture
    50 on at

    I tried that but got the following error:

    EuniceG11_0-1686097948529.png

     

  • fnanfne Profile Picture
    260 on at

    Really? It works in my tests.

     

    Try shortening the formula with only one filter to make sure it works, then expand from there.

     

    Sort(Filter('PMO Portfolio List', StartsWith('Work Title',SearchInput_2.Text), ID,
    SortOrder.Ascending))

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard