Problem 70. Alphabetize by last name

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

40.63% Correct | 59.37% Incorrect
Last Solution submitted on Mar 05, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers2130

Suggested Problems

More from this Author96

Problem Tags

Community Treasure Hunt

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

Start Hunting!