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

33.92% Correct | 66.08% Incorrect
Last solution submitted on Aug 20, 2019

Problem Comments

Solution Comments

Recent Solvers734

Suggested Problems

More from this Author95