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 Combo box/drop do...
Power Apps
Answered

Sort Combo box/drop down options in alphabetical order

(0) ShareShare
ReportReport
Posted on by 105

Hi

 

I have two filter boxes (one combo box and one drop down). Both columns are working correctly but the results are appearing in random order.

 

Any tips to arrange these alphabetically? I have tried using the 'Sort,...,ascending' function in various ways to no success so far. Thanks.

 

Group combo box - Items = Distinct(Documents, Group)

 

jamestcbs_0-1654512516980.png

 

Brand drop down - Items = 

Distinct(
Filter(
Documents,
If ('Group filter'.Selected.Result = "All", true, Group= 'Group filter'.Selected.Result)
),
Brand
)

 

jamestcbs_2-1654512599948.png

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,749 Super User 2026 Season 1 on at

    @jamestcbs 

    Applying the Sort function on 'Result' should work..

    Sort(Distinct(Documents, Group),
     Result,
     Ascending
    )

     

    Sort(
     Distinct(
     Filter(
     Documents,
     If ('Group filter'.Selected.Result = "All", true, Group= 'Group filter'.Selected.Result)
     ),
     Brand
     ),
    Result,
    Ascending
    )
  • jamest1994 Profile Picture
    105 on at

    @timl that has done the trick! Thanks a lot for the help

  • Krishna09 Profile Picture
    234 on at

    Hello,

     

    I tried Sort and sortbycolumn. but the combo box is not filtering based on alphabetical order.

     

    Sort(SortByColumns(FirstN(Choices([@Analyst_CG_PMD_team]),49),"Value"),SortOrder.Ascending)

     

    Can anyone help me to solve this.

  • Simmsociate_1 Profile Picture
    4 on at

    For anyone reading this in 2024, I believe the function has changed and instead of Result, SortOrder.Ascending or .Descending has to be called.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard