folks! I have a list of lists (actually, imported from PostgreSQL as JSON) that looks like this:
[{'person_name': 'FRAUDSTER_3', 'score': 10.33}, {'person_name': 'FRAUDSTER_5', 'score': 10.11}, {'person_name': 'FRAUDSTER_2', 'score': 10.44}, {'person_name': 'FRAUDSTER_4', 'score': 10.22}, {'person_name': 'FRAUDSTER_1', 'score': 10.55}]
Is there is a neat way to sort it by 'score' value using list.sort or sorted? Probably, lowest score first so I can use pop to get N records with maximum score first.