Page 1 of 1

"Sort files in job" Element

Posted: Fri Aug 02, 2019 11:08 am
by berniemok
1. If there are 3 PDFs, filename are "A1B2C3.pdf", "A2B3C1.pdf" "A3B1C2.pdf" and want to merge them as one PDF.
2. The sequence is using "B1", "B2", "B3" as the order for page 1,2,3, of the merged PDF.
3. In "Sort files in job" element, which "Sort key 1" option should choose: "Search" , "Segment" or others?
4. And what are the related parameters should input to make it work?

Thank you.

Re: "Sort files in job" Element

Posted: Sun Aug 04, 2019 6:56 pm
by Padawan
Can you try to set it like this?

Sort key 1: Number
Number index 2

Sort key Number means that it will search for numbers in the filename. Number index 2 means it will look for the second number in the filename and use that for the sorting.

This means that:
For filename "A1B2C3.pdf", "2" is the second number in the filename, so that one is used for the order
For filename "A2B3C1.pdf" "3" is the second number in the filename, so that one is used for the order
For filename "A3B1C2.pdf", "1" is the second number in the filename, so that one is used for the order

There are other possibilities to reach the same result.