How we can sort elements of a matrix row by row? I mean sort the elements of the matrix row by row ascendingly. For example, if A={3 5 1 2, 10 7 2 11, 8 4 1 10} and we need it to be sorted such that we have the matrix A after sorting to be A={1 2 3 5, 2 7 10 11, 1 4 8 10}. Thank you.