Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

Sorting for Non Dataverse Data Sets in PCF

(0) ShareShare
ReportReport
Posted on by 4

I have been working on implementing a detailslist based pcf component which is to be used for dataverse as well as for non dataverse based dataset. 

No I have read the documentation for the PCF API reference and it clearly says sorting is only supported for the Dataverse datasets.

Is there a way that I can implement sorting when the dataset is of non dataverse type. One such example is I have a collection which is populated from json reply from an API, how can I implement sorting on such dataset?

 

Any guidance is highly appreciated.

  • Verified answer
    cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: Sorting for Non Dataverse Data Sets in PCF

    Yeah, this is an easy one. Just don't use the PCF API sorting capability.

     

    Instead, take your result data and push it into a normal array, then use .sort on that object. Now you have no dependency on the database because it is all happening client-side.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard