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 / Unable to sort date
Power Apps
Unanswered

Unable to sort date

(0) ShareShare
ReportReport
Posted on by 8

Hi all,

I have a gallery which I want to sort by dates.

SortByColumns(Filter('Sharepoint List',StartsWith(Title)), "ReviewDate", If(Dropdown_Sort.Selected.Value = "Review Date (Ascending)", Ascending, Descending)

Right now as I have saved the date as text in Sharepoint, it is sorting as such
01/Nov/21
02/Dec/20
03/Mar/21

Instead I want this
02/Dec/20
03/Mar/21
01/Nov/21

How would I do that?

Best

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    The problem is that you are saving the column as text, so its sorting alphabetically, not by date.  You can either change the text to be in the format of yyyy-mm-dd which will sort alphabetically correctly or you can save the date as a date column and sort on that.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard