I made a list
data = [{"type":"house", "cost":500, "extra":False, "order":1},
{"type":"condo", "cost":40, "extra":False, "order":4},
{"type":"house", "cost":120, "extra":True, "order":2},
{"type":"house", "cost":800, "extra":True, "order":3}]
and want to sort the data by order
key
how would you sort it out?