Forum Discussion
SarahTurner
Jul 01, 2020Brass Contributor
ODATA order by filename in Get Files ( Properties only)
Hi, how can I order by the filename - what is the syntax for this? I have tried just putting Name asc but the flow fails. Please can someone help? Thanks
Kevin_Hoyt
Jan 21, 2022Iron Contributor
You can use FileLeafRef to sort by the name of the document. See this blog post for details.
https://tomriha.com/power-automate-to-filter-file-in-sharepoint-by-file-name/
https://tomriha.com/power-automate-to-filter-file-in-sharepoint-by-file-name/