|
IsSorted
Gets the flag of array being sorted using the specified sorting mode.
bool IsSorted(
|
Parameters
mode=0
[in] Tested sorting mode.
Return Value
Flag of the sorted list. If the list is sorted using the specified mode - true, otherwise - false.
Note
The sort flag cannot be changed directly. It is set by the Sort() method and reset by any add/insert method except for the InserSort(...).
Example:
//--- example for CArray::IsSorted()
|