I have a 2D list:
[['Hard', '7', '27.00'], ['David', '4', '26.00'], ['Great', '2', '25.00']]
I want to print it out in alphabetical order based on the first index of each list. I have a variable called listName which stores the information as presented above. I have tried listName.sort() however, it does not sort in alphabetical order. Any suggestions?