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.


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.

FREE REQUEST A QUOTE NOW

Thank you for your interest in the GAUSS family of products.

© Aptech Systems, Inc. All rights reserved.

Privacy Policy | Sitemap