I have a list like the following one:
|Name|Val. Date 1| Val. Date 2|
|PA | 200| 200|
|PB | 0| 300|
|PC | 200| 0|
|PD | 150| 150|
Ordering the list by Val. Date1 will give me something like: PA, PC, PD and PB. and something similar if I do it for Val. Date 2.
But what I really need to do, is to order it by the highest value recorded in Date 1 or Date 2, what results in something like this: PB, PA, PC and PD.
How can I solve this matter?