Reoder various argument declarations
Summary: This way they match better with the order the appear and how they are delcared in Bitcoin Core's codebase.
Test Plan:
make check
Reviewers: #bitcoin_abc, markblundeberg
Reviewed By: #bitcoin_abc, markblundeberg
Subscribers: markblundeberg
Differential Revision: https://reviews.bitcoinabc.org/D3161