Merge pull request #5511
e9c3215 [Wallet] sort pending wallet transactions before reaccepting (dexX7)