Locale-sensitive sort

Function sort_locale performs locale-sensitive sort in MATLAB.
5 download
Aggiornato 27 apr 2020

Visualizza la licenza

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

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

Cita come

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

Compatibilità della release di MATLAB
Creato con R2020a
Compatibile con R2016b e release successive
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release

- 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


Updated Summary and Description.


Name changed to "Locale-sensitive sort".