No. The problem is that topics are sorted in post-id order. And, as you have described, you have imported posts in an order other than the order that they should have been created. I am afraid that the only proper solution is to fix the import so that posts are imported in the proper order. It sounds like, though, that all you’d need to do is wipe the database and re-run the import script.
(Or other “solutions” include don’t care about the post order, it’s old stuff that no one is going to read anyway, and contrive to, for each topic, delete all of the existing posts and re-create them in the correct order.)