sorted_array = sorted(array) ... Python sort array of dictionary by value. Copy. my_list = sorted(my_list, key=lambda k: k['name']).
確定! 回上一頁