Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save FrankFang/9426071 to your computer and use it in GitHub Desktop.
Save FrankFang/9426071 to your computer and use it in GitHub Desktop.
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