1

imagine I have a pair {(1,0), (2,0), (1,1), (2,1), (3,1)} and I want to have it like {(3,1), (2,1), (1,1), (2,0), (1,0)} after a sort by second element in descending order and then by the first element descending order.How can I do that?

0 Answers0