Cody

Problem 70. Alphabetize by last name

Created by Cody Team in Cody Challenge

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

42.05% Correct | 57.95% Incorrect
Last solution submitted on Nov 15, 2018

Problem Comments

Solution Comments

Recent Solvers531

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!