I am not good at Mathematica. I have the following list already ordered according to the second part:
list1 = {{3, 2}, {5, 2}, {7, 2}, {7, 4}, {8, 4}, {12, 8}, {94, 8}, {4, 10}, {42, 10}};
I want to select the first elements where the second part gets bigger. The result would be:
list2 = {{3, 2}, {7, 4}, {12, 8}, {4, 10}}