Would you be willing to create a PR with the updated order, if this is indeed a blocker for your custom PDF template?
I can do a PR to change the order as with the default order, the header and footer are not loading. But note that this issue is not a blocker as there are workaround, we can still fix it by customizing the Sheet.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.