In cometbft v0.37.x, we can use PrepareProposal to modify the ordering of tx in a block in application layer in propose round This idea will need more testing to test its correctness