list sort sorted 2023-02-21 本文已影响0人 robotframe sorted()是python内置函数,对于列表进行排序。使用该函数排序后,原列表的元素顺序不变。 列表对象提供了sort()方法,对List中的元素排序。