You really think the hierarchy of the headings matters to Google?
I doubt that the order of the text matters either, but if it did you could create a tool that would order the output.
I doubt that the order of the text matters either, but if it did you could create a tool that would order the output.