We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Sorting of PdfEditor.Concatenate unclear


we use the Concatenate method to consolidate several PDF files to one PDF.
Is there a way to set the sort order of the input PDF files in the consolidated PDF?
We try to add a postfix 0_, 1_ and this works fine. But when using a structure e.g. 0_1_2_… the sort order is not as expected.

Kind regards,


You may please use DOM approach in following article to merge PDF files in the order you want to. Please check following article and if you experience any issue, please share your sample PDF files along with expected output PDF. We will test the scenario in our environment and address it accordingly.