Shallow copies and sorts an array given specific criteria.
This function is valid in
v2.13.3 to v2.14.3.
This function has been downloaded 3 times.
Array to be sorted.
Criteria by which a shallow copy of
array will be sorted. If a string or an array is supplied it will be used as the path to each individual array element that will be keyed off of to do the sort.
Comparison function used to compare each array element criteria.
A shallow copy of the array sorted according to the specified criteria and comparison function.
This function requires the following functions which are included automatically:
Simple compare function typically use in sorting.
Every object descended from Object inherits the hasOwnProperty method. This method can be used to determine whether an object has the specified property as a direct property of that object; unlike the in operator, this method does not check down the object's prototype chain.