Sorting a pdf file on the basis of page number

Anymong

New member
I am having 45 pdf files each consisting of single page only and the common pattern which occurs on them is that department 11 is written on each file and some page number is also written on each file for example if I open a random pdf it will definitely have ‘Department11’ and say page no. 9 written on it , if I again open another pdf it will also have “department11” and say pageno 12 written on it.T he problem is when I am applying “join pdf file” activity the merged pdf of 45 pages which I am getting is not in sorted manner of page no. i.e resulting pdf when opened is showing department11 and pageno5 on page1 of merged pdf file of 45 page, similarly the second page is showing pageno.9 written on it and say third page is showing pageno2 , In all the merged pdf file which I am getting is unsorted. How can I get with a sorted pdf of 45 pages i.e first page of pdf should also be first page of Department11 and similarly second page of pdf should be 2nd page of department11 and so on and so forth.

Kindly help!.. if any other clarity on question is required please feel free to ask.
 

EASCalumMuir

Moderator
Staff member
Hi there,

Are you reading the PDFs content first? Or simply joining them at the moment?

If you're reading them (OCR) then I'd suggest renaming the file with the page number and that should then join them in the right order.
Use a prefix to the file name 001, 002, 003 etc.
If you don't include 0's then it will retrieve them as follows, 1, 11, 12, 13...

You can rename the file by simply using the move file activity (without actually moving the file location).

Hope that helps,
Calum.
 
Top