Python Sort Array Custom Comporator

l = [{'prop': 2}, {'prop': 3}, {'prop': 1}]

l.sort(key=lambda x: x['prop'])
Tekno