s = ['1.dat','10.dat','5.dat']new = sorted(s,key = lambda i:int(re.match(r'(\d+)',i).group()))new = sorted(s,key = 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交