Signature (Visual Basic / VBA)
Public Function IsVariantVectorSorted( _
ByRef vValues() As Variant _
, Optional ByVal vCompare As Variant _
) As Boolean
Determines if the elements 1..UBound of a variant array are sorted according to the given comparison type. String comparisons are used if any of the elements are Strings. Nulls are considered to be less than any other type of except Empty.
Public Function IsVariantVectorSorted( _
ByRef vValues() As Variant _
, Optional ByVal vCompare As Variant _
) As Boolean