Human: Sort tuples based on second parameter Assistant: 
Here is some code to sort a list of tuples `my_list` by second parameter in the tuple

my_list.sort(key=lambda x: x[1])

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