how i can sort a list of list containing string and int..
user_list = [
['Jo Marat', 3],
['titi toto', 3],
['Mr DoD', 6],
['Zebrra Benda', 1]
]
sorted :
sorted_list = [
['Mr DoD', 6],
['Jo Marat', 3],
['titi toto', 3],
['Zebrra Benda', 1]
]
i try insertion algorithm but I dont' know how i can adapt this algo to my need...
Can you help me please ?