I'm confused about your question. The Links panel is a list of all the assets, including information about size, resolution, and if InDesign can still find the item, etc. It does not have an affect on pages. If pages are out of order, you would see that in the Pages panel and on screen.
Please clarify the issue and show screen shots so we can better assist. Also, what is the exact error message you get when exporting to PDF?