SORTN - sort textual lists
Version 1.0.0.0 (5.49 KB) by
Oren Yagev
Sort text lists containing letters and numbers.
Sort cell array or char array in textual and numerical mode. Primary sort by first letter, secondary by second letter and so on. Numbers are considered an numerical values. The main interest in this function is that it can sort numbers with text, so string like 'a60' comes before 'a100'.
Designed specially for sorting files list.
Cite As
Oren Yagev (2024). SORTN - sort textual lists (https://www.mathworks.com/matlabcentral/fileexchange/8399-sortn-sort-textual-lists), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Characters and Strings >
- MATLAB > Language Fundamentals > Matrices and Arrays > Shifting and Sorting Matrices >
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Updating to add license |