I\'m trying to use the ttk.Treeview sort function illustrated in the answer to this question (Tk treeview column sort) and it works just fine for strings like \'abc\', \'bcd
If someone is checking in 2020 and need to include float as well, then use this
l.sort(key=lambda t: float(t[0]), reverse=reverse)