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.67% Correct | 68.33% Incorrect
Last Solution submitted on Jan 20, 2020

Problem Comments

Solution Comments

Problem Recent Solvers816

Suggested Problems

More from this Author95

Problem Tags