[Wallet] Improve ReorderTransactions(..)
Merge pull request #4697

da2ede2 [Wallet] Improve ReorderTransactions(..) (Cozz Lovan)