Implement 5 APIs in just 30 minutes using any AI tool.
Implement five operations over an in-memory collection: create, get, list, update, and delete. The function receives operations as dictionaries and returns one response per operation; list must return resources sorted by ID. For example, creating {"id":"a1","data":{"name":"A"}} returns status 201, while getting "a1" returns status 200 with that resource.
def implement_five_apis(operations):