human
How to sort multidimensional array by column?
assistant
Here is some code to sort a multidimensional array `a` by column with index 1

sorted(a, key=lambda x: x[1])

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