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 / Sorting for Non Datave...
Power Apps
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.

I have the same question (0)
  • Verified answer
    cchannon Profile Picture
    4,702 Moderator on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard