Sort by key of dictionary inside a dictionary in Python,"result = sorted(iter(promotion_items.items()), key=lambda pair: list(pair[1].items()))"