Sorting a list dictionaries in desc by key that contains a “-” is not sorted correctly in python

后端 未结 0 1944
我在风中等你
我在风中等你 2021-02-02 03:46

Here is the the code:

data = [

    {\'Name\': \'MS Asset #01\', \'Serial number\': \'985485\'},
    {\'Name\': \'MS Asset #02\', \'Serial number\': \'9988-5563\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题