SORTN - sort textual lists

Sort text lists containing letters and numbers.
2.2K Downloads
Updated 31 Mar 2016

View License

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 Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Updating to add license