w3resource.com
(2, 5)
(1, 2)
(4, 4)
(2, 3)
(2, 1)
(2, 1)
(1, 2)
(2, 3)
(4, 4)
(2, 5)
(2,
5
)
(1,
2
)
(4,
4
)
(2,
3
)
(2,
1
)
Sorted in the increasing order by the last element of each tuple
Last element of each tuple
Sorted by the last element of each tuple