Page 1 of 1

Keep files in correct order after sorting

Posted: Fri Sep 09, 2016 12:53 pm
by lombert
If I use 'Sort files in job' and get a correct file order and want that to continue in that order throwout the flow. How do I?

Have now correct file order numbered 1-100 in a folder. Let the flow run and then stop. Two folders later the 12,13,14,26,33,36,40 and so on going forward to next folder, the rest is stil in the folder behind.

Why can't it pick files in correct 'job prefix' order?

I thought that the Hold could do that, but no.

Re: Keep files in correct order after sorting

Posted: Fri Sep 09, 2016 6:29 pm
by gabrielp
I think this will do what you want. You sort in job, then you use the count variable (which you need to take from the file name) and use that as the job priority for the hold. This will give you them in order, but reversed.

Image

https://drive.google.com/file/d/0B9ciRz ... sp=sharing

Re: Keep files in correct order after sorting

Posted: Fri Sep 09, 2016 10:21 pm
by lombert
Thanks! Good to knew.