Sequence of Trade on universal exit

If there is credit strategy, if we are going to enter universal exit strategy, is it possible to sequence that.

It should square off Sell conditions first and then square off Buy conditions.

Sequencing in universal exit may not be possible. But you can use below option.
Create 2 sets. Set1 for buy and Set2 for sell.
Use Set exit to exit Set2 first
Then exit Set1 - use position detail to confirm set2 net quantity 0