Hi all, is there a way to sort A in ascending order based on column 1, allowing its other columns to follow with it
A = [1 2 51 3 32 3 121 4 2];
results should be:
B = [1 2 51 3 31 4 22 3 12 ];
inordersort
A = [1 2 51 3 32 3 121 4 2];
B = [1 2 51 3 31 4 22 3 12 ];
Best Answer