April 8, 2011
Sorting an array of objects by one or more object property
Quite often I find myself having an array of objects and needing to sort that array of objects by property (either one property or multiple)… Imagine, for example, getting a large result set from your database and ordering in the query just takes too long. Or perhaps you’re getting results from a web service and that service doesn’t return the...