I have a matrix with two columns. The first column is numbers and the second is a string of words. I want to sort the entire matrix in ascending order based on the first column entries and without losing each number's second column pair. A simplified example is as follows:
4 Apple3 Orange6 Pear1 Peachto 1 Peach3 Orange4 Apple6 Pear
Best Answer