how do I modify open positions so TP is lowest for highest open price?

 

Hello,


I want to modify all my open positions so that the TP (selling price) of all my open orders is sorted in the opposite order as the opening price.


example of how my open positions are now

Ticket Number Opening Price Target Profit
1 4 4
2 3 5
3 2 3
4 1 2


How I want them sorted
Ticket Number Opening Price Target Profit
1 1 5
2 2 4
3 3 3
4 4 2


How can I do this?