By default, miners select transactions with high fees from the mempool. So, transactions which are dependent and have a specific order can be selected randomly without respecting this order. Will I be able to insert my own algorithm of pending transaction selection in the Ethereum private net? and how to do this insertion? Thank you.
Sure, you can implement your own algorithm to order the txpool. Currently, they order by gas price that make sense for mining incentive