How to sort matrix (Panel dataset) according to the ID and year index in MatLab?
Show older comments
Dear All,
I am working with firm-level panel dataset in MatLab and I would like to sort my datasets. For instance:

Could you please help me? Many thanks!
Accepted Answer
More Answers (0)
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!