Sort a matrix by more than one column

Is there a way to sort a matrix by more than one column? I have a matrix of panel data and I would like to first sort it by year, then by cross-section. There are columns with unique year and cross section identifiers in the data matrix. Any suggestions?

1 Answer



0



It looks like I ran to the forum too quickly. "sortmc" appears to do the trick.

Your Answer

1 Answer

0

It looks like I ran to the forum too quickly. "sortmc" appears to do the trick.


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.