cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LeonieWilliams
Frequent Visitor

sort gallery item list by most recently created first

I have a very simple app that records a date entry but the gallery list view sorts by the oldest items first and I can't work out how to change it.  Someone did mention about a gallery list formula, but I can't for the life of me find that.

 

2 screenshots showing the date entry field and the gallery list view which surfaces the date field and a lookup field below it - I want to see the most recently created items first, not last.

 

The dates here are manually entered, but they will be done on a daily basis so by seeing the latest entries first they will end up in date order - this is just sample data at the moment.

Screen Shot 2018-05-30 at 4.16.14 PM.jpgScreen Shot 2018-05-30 at 4.16.04 PM.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
DavesTechTips
Super User
Super User

Hi Leonie.

 

In the items property for the gallery, you should be able to just specify

Sort( DataSourceName , DataFieldName , Ascending )

Please let me know if you don't come right.

View solution in original post

2 REPLIES 2
DavesTechTips
Super User
Super User

Hi Leonie.

 

In the items property for the gallery, you should be able to just specify

Sort( DataSourceName , DataFieldName , Ascending )

Please let me know if you don't come right.

So simple! That worked, thank you.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (5,220)