```
Also move `Check` and `ForceCheckAddrman` to be after the `FunctionName_` functions.
```
Also move Clear() at the end together with MakeDeterministic(), as both these methods don't exist in core's codebase.
Partial backport of core#22950:
https://github.com/bitcoin/bitcoin/pull/22950/commits/f2e5f38f09ee40933f752680fe7d75ee8e529fae
Depends on D12327.