sortBy (property) Arraypublic
Converts the enumerable into an array and sorts by the keys specified in the argument.
You may provide multiple arguments to sort by multiple properties.
Parameters:
-
property
String - name(s) to sort on
Returns:
-
Array - The sorted array.
Please login to continue.