<human>:  how do I sort a python list of dictionaries given a list of ids with the desired order?
<bot>:))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.