Locale-sensitive sort

Function sort_locale performs locale-sensitive sort in MATLAB.
5 téléchargements
Mise à jour 27 avr. 2020

Afficher la licence

Function sort_locale performs locale-sensitive sort in MATLAB. Input argument can be cell array of character vectors or string array.

Default locale is cs_CZ. Other supported languages can be found here: https://www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html

Example:
>> S = sort_locale({'zelí','mrkev','česnek','petržel','řepa'})
>> S = sort_locale({'zelí','mrkev','česnek','petržel','řepa'},{'cs', 'CZ'})

Citation pour cette source

Jan Studnicka (2024). Locale-sensitive sort (https://www.mathworks.com/matlabcentral/fileexchange/75160-locale-sensitive-sort), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2020a
Compatible avec les versions R2016b et ultérieures
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.1.0

- function now remembers the shape of the input vector
- added MATLAB Release Compatibility information
- added validation of input arguments
- added link to the page with supported languages

1.0.2

Updated Summary and Description.

1.0.1

Name changed to "Locale-sensitive sort".

1.0.0