Show in alphabetical order
Afficher commentaires plus anciens
The objetive of the program is to show a data list that is saved in a notepad. But I want to show it in alphabetical order from the name(4th column). What can I change? Thanks

Réponses (1)
Walter Roberson
le 29 Nov 2017
[~, sortidx] = sort({users.name});
for k = sortidx
...
end
2 commentaires
João Carvalho
le 29 Nov 2017
Walter Roberson
le 29 Nov 2017
What you already have in your for loop.
Catégories
En savoir plus sur LaTeX dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!