Hi
Might be more efficient way, but for now I can think of 2x condition blocks:
OR
selections trigger expression market_score1 is equal to 1
and selections trigger expression market_score2 is equal to 0
and selections index is equal to 1
and selections trigger expression s_1_last_order is greater than s_2_last_order
OR
selections trigger expression market_score1 is equal to 0
and selections trigger expression market_score2 is equal to 1
and selections index is equal to 2
and selections trigger expression s_2_last_order is greater than s_1_last_order