If the filename structure is always the same, a potential workaround could be to
- extract the number of the file as the “number” item data type
- add it to a new array of items you need to use further in the flow
- sort the array with the “sort” function as the “number” item data type would be used instead of a “string”
Extracting the number of the file
Adding the number of the file to a new array
Sorting the array