Simple yet flexible natural sorting in Python. ... a = ['apple2.50', '2.3apple'] >>> natsorted(a, key=lambda x: x.replace('apple', ''), alg=ns.
確定! 回上一頁