sort_nat: Natural Order Sort

Sort strings in natural order.

下载
下载

您现在正在关注此提交

编者注: This file was selected as MATLAB Central Pick of the Week

引用格式

Douglas Schwarz (2026). sort_nat: Natural Order Sort (https://ww2.mathworks.cn/matlabcentral/fileexchange/10959-sort_nat-natural-order-sort), MATLAB Central File Exchange. 检索时间: .

类别

在 Help Center 和 MATLAB Answers 中查找有关 Shifting and Sorting Matrices 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.3.0

Fixed bug identified by Evgeny Pr. (Thanks!)

下载
1.2.0

Added ability to sort in descending order.

下载
1.1.0

Steve Herman identified an obscure bug (sorting a cell array of one string which has no numeric characters) which has now been fixed. Thank you Steve!

下载
1.0.0

Fixed ambiguity of sort order in certain cases e.g., {'a0','a00'}. Increased speed. Relaxed MATLAB version requirements -- no longer requires R2006a, should work with much older versions now.

下载