Sorting a collection

Hey, i've come to a case where i need to sort a collection to display the results in a certain order.

In collection.js, the records property says:
/**
		The underlying array that stores the records for this collection. Modifying
		this array may have undesirable effects.
	*/
	records: null,
Is it safe to run a sort on the records array? or is it going to mess other things up?

Is there a method i am overlooking that does this feature?

Just want to make sure before I start something that may have later problems.

Comments

Sign In or Register to comment.