Human: Sort numpy matrix row values in ascending order Assistant: 
Here is some code to sort rows of numpy matrix `arr` in ascending order according to all column values

numpy.sort(arr, axis=0)

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