“x < a 其它按字母序”不知道为什么现实不出来,答案是 sorted(arr, key=lambda element : str.replace(element, 'x&(3980)#39;, '0'))