Shallow copies and sorts an array given specific criteria.
This function is valid in
v2.0.0 to v2.13.2.
This function has been downloaded 31 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.
Either gets the type of a value or adds a constructor registering its custom type name.