Sort the first column of an array in ascending order
2 views (last 30 days)
Show older comments
Hi I need to sort the first column of an array in ascending order by also moving the numbers in the second column like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1450912/image.png)
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Shifting and Sorting Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!