Hi,
I have some problem with the display of my database.
I have a huge data where the tuples have multiple elements like 3 or 4
e.g.
[('air', 456, 'orange'),('ball', 789, 'yellow'),('cat', 123, 'blue' ),('dog', 159, 'red')]
So the problem is they are sorted by the alphabets for the first element which is a text(character),
The problem is I want the tuples to be sorted on the basis of the second element.
I want to soft the elements for the numbers (2nd element).
Please help
Bookmarks