Skip to content

Conversation

@mvaneijgen
Copy link
Contributor

In your video you still sort on the first name of the array but you called it aLast and bLast but they where in the first position of the array like this: const [aLast, aFirst] when changed to const [aFirst, aLast] it will filter on the second part of the array. There for it will sort on the last name.

To bad there is no way to pull request your video.

In your video you still sort on the first name of the array but you called it `aLast` and `bLast` but they where in the first position of the array like this: `const [aLast, aFirst]` when changed to `const [aFirst, aLast]` it will filter on the second part of the array. There for it will sort on the last name. 

To bad there is no way to pull request your video.
@mvaneijgen mvaneijgen changed the title 7. sort Exercise make it so it sorts on last name 04 - Array Cardio Day 1, 7. sort Exercise | make it so it sorts on last name Dec 11, 2016
@wesbos
Copy link
Owner

wesbos commented Dec 12, 2016

Yes - good catch. I mixed these up in the video. THanks

@wesbos wesbos merged commit 2094f09 into wesbos:master Dec 12, 2016
YuriBrunetto added a commit to YuriBrunetto/JavaScript30 that referenced this pull request Feb 16, 2017
deeheber added a commit to deeheber/JavaScript30 that referenced this pull request Apr 19, 2017
kdipaolo added a commit to kdipaolo/JavaScript30 that referenced this pull request Apr 24, 2017
ShimmiChristo added a commit to ShimmiChristo/JavaScript30 that referenced this pull request Jan 3, 2018
EmmDguez pushed a commit to EmmDguez/JavaScript30 that referenced this pull request Jun 10, 2018
04 - Array Cardio Day 1, 7. sort Exercise | make it so it sorts on last name
smchenrybc added a commit to smchenrybc/JavaScript30 that referenced this pull request Aug 2, 2018
Watson6982 added a commit to lgss/JavaScript30 that referenced this pull request Sep 28, 2018
tiago-m-dias added a commit to tiago-m-dias/JavaScript30 that referenced this pull request May 7, 2019
bSkinny2 pushed a commit to bSkinny2/JavaScript30 that referenced this pull request Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants