Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
6k views

Sort a cell array of strings alphabetically by last name

In Matlab, I have a cell array like: names = { 'John Doe', 'Jane Watkins', 'Jeremy Jason Taylor', 'Roger Adrian' } I would like to sort these such that the last names appear in ...
Superbest's user avatar
  • 26.6k