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 o
Make sure that you do not have any null or NaN values in the list you want to sort. If there are NaN values, then your sort will be off, impacting the sorting of the non-null values.
Check out Python: sort function breaks in the presence of nan