0
List dictionary..(sort)?
Hi. please how can we use sort or any other method to have a result like that. [(3,"b"),(5,"a"),(66,"k")] ==> [(5,"a"),(3,"b"),(66,"k")] (trier les 2emes valeurs et non les premiÚres.. et aussi comment les options de la méthode change si on veut mettre en ordre les numéros ou bien les lettres. ) Thank you.
3 Answers
+ 2
https://stackoverflow.com/questions/10695139/sort-a-list-of-tuples-by-2nd-item-integer-value
+ 2
thanks!