📅  最后修改于: 2022-03-11 14:49:02.328000             🧑  作者: Mango
import re
liste = IN[0]
def natural_sort(l):
convert = lambda text: int(text) if text.isdigit() else text.lower()
alphanum_key = lambda key: [ convert(c) for c in re.split('([0-9]+)', key) ]
return sorted(l, key = alphanum_key)
OUT = natural_sort(liste)