7 kyu

Sort with Arrow Functions

4,095 of 4,168matt c

Description:

Order People by age Using Arrow Function

Sort and Order people by their age using Arrow Functions

Task

Your task is to order a list containg people objects by age using the new Javascript Arrow Functions

Input

Input will be a valid array with People objects containing an Age and Name

Output

Output will be a valid sorted array with People objects sorted by Age in ascending order

Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions

Fundamentals
Sorting
Language Features
Arrays

Stats:

CreatedJul 10, 2015
PublishedJul 10, 2015
Warriors Trained7126
Total Skips904
Total Code Submissions10149
Total Times Completed4168
JavaScript Completions4095
Total Stars48
% of votes with a positive feedback rating89% of 414
Total "Very Satisfied" Votes336
Total "Somewhat Satisfied" Votes64
Total "Not Satisfied" Votes14
Ad
Contributors
  • matt c Avatar
  • joh_pot Avatar
Ad