What I need: A list of all files in a directory and sub-directories ordered by date and with the date and relative path displayed. 2019-05-20 ...
You can call out to Powershell from you batch file if you want to. This code can be shortened on newer versions of Powershell . for /F "delims=" ...
In modern versions of Windows, the Command Prompt shows large numbers
Displays a list of a directory's files and subdirectories.
Dir command information for MS-DOS and the Windows command line. Page includes dir
/D Wide List format, sorted by vertical column.
It would print the list of files in the order of file modified time.
Does the iPhone have any way of doing the same sort first? Otherwise you may have to capture the file list into local storage and then order them ...
In any version of Windows, when you sort items in a folder in descending order by Date Modified column, folders move to the bottom and files go to the top.
This option says to search for the files modified after n days from today's date.