How to sort a list of lists according to the first element of each list?
For example, giving this unsorted list:
[[1,4,7],[3,6,9],[2,59,8]]
The sorted result should be:
[[1,4,7],[2,59,8],[3,6,9]]
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…