如何从python列表中排序数据?
my_list = ['s1 = cat','s2 = dog','s333 = bird' , 's4 = ant', 's5 = alice','s3 = zoo']
my_list.sort()
['s1 = cat', 's2 = dog', 's3 = zoo', 's333 = bird', 's4 = ant', 's5 = alice']
My expected output
['s1 = cat', 's2 = dog', 's3 = zoo', 's4 = ant', 's5 = alice', 's333 = bird']