nestedSortStruct
Perform a nested sort of a struct array based on multiple fields.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Jake Hughey (2026). nestedSortStruct (https://github.com/hugheylab/nestedSortStruct), GitHub. Retrieved .
General Information
- Version 1.4.0 (6.27 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.4.0 | No longer ignores directions for sort order. |
||
| 1.3.0 | Simplified nestedSortStruct to avoid converting from cell to matrix, resulting in ~20% speedup. Thanks Jori. Fixed minor naming inconsistencies in nestedSortStruct2. |
||
| 1.2.0 | Fixed nestedSortStruct so column struct arrays are sorted properly. |
||
| 1.1.0 | Minor fix to formatting of initial comments in nestedSortStruct2.m. |
||
| 1.0.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.