Sort imports in interface_*, mining_* and mempool_* functional tests
Summary:
This is preparation work to add a new linter that will enforce this new sorting.
The command used was:
isort --profile=black --line-length=79 test/functional/interface_* test/functional/mempool_* test/functional/mining_*
See D10200 for the rationale regarding --profile=black --line-length=79
Test Plan: ninja check-functional
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10202