I am sorting a 2D list in Python. Right now I sorted the list in an ascending order based on the first column. My list look like this:
Now only sort those rows which have the same element at first column, based on second column. And it should look like this: