Skip to content

Instantly share code, notes, and snippets.

Created March 8, 2014 06:02
Show Gist options
  • Save anonymous/9426067 to your computer and use it in GitHub Desktop.
Save anonymous/9426067 to your computer and use it in GitHub Desktop.
Sort a collection view.
this.collection.comparator = 'id';
this.collection.sort();
this.collection.trigger('reset');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment