I have a list of lists. For example, [ [0,1,'f'], [4,2,'t'], [9,4,'afsd'] ] If I wanted to sort the outer list by the string field of the inner lists, how would you do that in python?

I have a list of lists. For example, [ [0,1,'f'], [4,2,'t'], [9,4,'afsd'] ] If I wanted to sort the outer list by the string field of the inner lists, how would you do that in python?
This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release. Sorting HOW TO¶ Author Andrew Dalke and Raymond Hettinger Release 0.1 Python lists have a built-in list.sort() method that modifies the list in-place. There is also a sorted() built-in function that builds a new sorted list from an iterable
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く