Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed HTML5 Mobile Web Applications!
You have completed HTML5 Mobile Web Applications!
Preview
In this video we learn how to apply sorts to Collections in Backbone.js. here.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
[Jim Hoskins] So you may have noticed we have All Notes here.
0:00
Right now they're just sort of sorted in whatever order they were put into here.
0:01
What I'd like to do is actually sort these by their title
0:05
and later on when we add geolocation,
0:09
I'm going to have a different collection that's sorted
0:12
by how close to my current location that note is
0:14
and we can have all sorts of different sorts.
0:18
So here where I have All Notes, I want this to be alphabetically sorted
0:20
and we can see that we're not quite there yet.
0:24
In fact, you can see when we defined our view for this list,
0:27
we actually called this ListView list_alphabetical
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up