Task: Iterate Over a Dictionary in Sorted Key Order
Task: Iterate Over a Dictionary in Sorted Key Order: a task in Terminal-Lego-15k (Harbor dataset). You need to modify a Python function that currently returns an unsorted dictionary iterator to instead return the dictionary items sorted by key.
The task
You need to modify a Python function that currently returns an unsorted dictionary iterator to instead return the dictionary items sorted by key.
Part of PrimeIntellect/Terminal-Lego-15k.