When i add a PDF to a OneNote page as a multipart request it seems like the ordering of the pages are sorted alphabetically instead of lexical order. The pages in the PDF are numbered (1-22) but when the page has been updated with the content from the PDF, the order of the images are 1, 10, 11, 12..2, 20, 21, 22)
I am using this as a reference: https://learn.microsoft.com/en-us/graph/onenote-images-files#add-images-of-pdf-file-contents
How can i prevent or control this behaviour?