1 2 3
def sorted_models(models): sorted_models = sorted(models, key = lambda x: x['color']) return sorted_models