Created
December 7, 2016 17:37
-
-
Save benjaminparnell/f2c0ae4ec4e7168cb7f22ecc11490342 to your computer and use it in GitHub Desktop.
sort.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
people.sort(function (a, b) { | |
return a.name > b.name | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment