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 Automate / How to order files by ...
Power Automate
Unanswered

How to order files by creation time into list variable

(0) ShareShare
ReportReport
Posted on by 74

Hello!

 

I have a group of photo files that are uploaded into Sharepoint via MS Forms.  This data is sent to Excel as their Sharepoint path address.  Unfortunately, these files uploaded via MS Forms are in a mxed up order.  I have the path of the files but want to be able to arrange them in order of creation/modified date into a List Variable from oldest created date to newest.

 

Any ideas?  Is there a way to look at the file path creation date, then sort them in a list?

 

Please do let me know if you need more information and thank you in advance!

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @tbang3000 

     

    What do you mean in "these files uploaded via MS Forms are in a mixed up order"? List items in Excel are ordered by the date/time when the answer was posted by Forms responder, aren't they?

     

    Want to know when the original image file was created before uploading? You might find that information from the Exif metadata embedded in each image file. However it sounds a bit tricky to me...

     

    If you want to sort image files by the date/time they were uploaded to SharePoint / OneDrive, I suppose you can use the Microsoft Graph API to refer to the properties of each file.

     

    Thank you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello again @tbang3000 

     

    I think you would better to consider using cloud flow in "Power Automate" rather than using desktop flow in "Power Automate Desktop" for this scenario. They have connectors such like "SharePoint - Get file properties" or "SharePoint - Get files (properties only)" in Power Automate.

    Support for SharePoint Document Library Properties | Power Automate Blog (microsoft.com)

     

    I hope above information is useful for your project.

    Thank you.

  • tbang3000 Profile Picture
    74 on at

    Thanks for the input on these, i've selfed sovled it by copying files into folder, then sorting them into the correct order.  Thanks!

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 210 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 175

Last 30 days Overall leaderboard