Given a list of names in a cell array, sort the list by the last name. So if

 list = {'Barney Google','Snuffy Smith','Dagwood Bumstead'}; 

then the output is

 alpha_list = {'Dagwood Bumstead','Barney Google','Snuffy Smith'}

Solution Stats

6151 Solutions

2342 Solvers

Last Solution submitted on Mar 10, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Group


Problem Recent Solvers2342

Problem Tags

Community Treasure Hunt

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

Start Hunting!