ArrayPrototype::sort Method (Object^, Object^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Sorts the elements of the specified array by using the specified function to compare the elements.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: [JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, JSBuiltin::Array_sort)] static Object^ sort( Object^ thisob, Object^ function )
Parameters
- thisob
-
Type:
System::Object^
The object that this method is acting upon.
- function
-
Type:
System::Object^
The function to use to compare elements.
.NET Framework
Available since 1.1
Available since 1.1
Show: