Hi! I was looking for a function I need in internet but I didn't find it... I need to sort a multidimensional array(matrix).. for example
Original matrix
1,b,3
2,c,5
3,a,1
I need a function, lets call it magic() xD with 2 arguments, the matrix and which col to sort first...
so..
the result of...