Cody

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

31.54% Correct | 68.46% Incorrect
Last Solution submitted on Jan 29, 2020

Problem Comments

Solution Comments

Problem Recent Solvers819

Suggested Problems

More from this Author95

Problem Tags