sortcollection.sort([options])
Force a collection to re-sort itself. You don't need to call this under normal circumstances, as a collection with a comparator will sort itself whenever a model is added. To disable sorting when adding a model, pass {sort: false}
to add
. Calling sort triggers a "sort"
event on the collection.
collection.sort

2025-01-10 15:47:30
Please login to continue.