sort_nat: Natural Order Sort

Sort strings in natural order.

Télécharger
Télécharger

Vous suivez désormais cette soumission

Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week

Citation pour cette source

Douglas Schwarz (2026). sort_nat: Natural Order Sort (https://fr.mathworks.com/matlabcentral/fileexchange/10959-sort_nat-natural-order-sort), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.3.0

Fixed bug identified by Evgeny Pr. (Thanks!)

Télécharger
1.2.0

Added ability to sort in descending order.

Télécharger
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!

Télécharger
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.

Télécharger