How about being able to specify the order in which files are iterated over? For example:
- alphabetically
- by date
- by size
Explanation: This would be useful to me at the moment as I’m building a list of completed builds, and I would like to default to the most recent build. Iterating by date would make that easy. (actually I’m using the Folder Iterator, but the principle is the same…)
Steve
Hi Steve,
We could probably look into a “Sort FileSet” action. Would that be useful enough?
Regards,
Angus
Bleh, you know I don’t use filesets Compare:
File iterator (with sort parameter)
-Do something based on file.
Totally self-contained.
Fileset define
Fileset sort
File iterator (on fileset)
-Do something based on file
Those three operations have to be in the correct order. The fileset is now defined forever, despite its having no meaning anywhere else in the project. Less elegant.
But yeah, if that’s easier for you, I would use that and consider it a ‘workaround’.
Steve