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 by collections an...
Power Apps
Unanswered

Sort by collections and descending

(0) ShareShare
ReportReport
Posted on by 3

Hey, I have been on the journey of developing my first app and I'm trying to figure out how to make a specific sort based on a status of the checkbox and the collection.

The currently sort of the gallery is:

Sort(
 Filter(
 PreInventarioPowerApps, STATUS.Value = "Por asignar",
 StartsWith(SERIAL, SerialSearchInventario_Input.Text) || IsBlank(SerialSearchInventario_Input.Text)
 ), Modified, SortOrder.Descending
)

and I have a checkbox that on check is collecting the items that are being checked in the property "oncheck" and left out when uncheck.

the property oncheck looks like:

Collect(colDataPorAsignar, ThisItem)

The thing is that I want the gallery to show first the ones that haven't been checked and then the ones already checked.

I would really aprecciate if anyone could help me with this one

Yslid_0-1714592821302.jpeg

Image for reference

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Yslid ,

     

    Please add a field called IsChecked to your collection.

    Sample:

    vxiaochenmsft_0-1714617028548.png

    vxiaochenmsft_1-1714617036925.png

    vxiaochenmsft_2-1714617048950.png

    vxiaochenmsft_3-1714617061811.png

    vxiaochenmsft_4-1714617074624.png

    vxiaochenmsft_5-1714617085766.png

     

    Best Regards,

    Wearsky

  • Yslid Profile Picture
    3 on at

    Hello, thank you so much for taking your time and answer my question.

    I understand what you are trying to tell me, but to be honest, I don't fully comprehend how I can apply that in my case. Anyways thanks a lot 😄

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 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard