Signature (Visual Basic / VBA)
Public Function SortVariantMatrixRowsToKeyOrder( _
ByRef rArray() As Variant _
, ByRef rKeys() As Variant _
, Optional ByVal vLower As Variant _
, Optional ByVal vUpper As Variant _
) As Boolean
Orders the rows of a variant matrix in-place given a long vector of sort keys. The keys are updated to reflect the sorted order of the records which is then also the physical order.
Public Function SortVariantMatrixRowsToKeyOrder( _
ByRef rArray() As Variant _
, ByRef rKeys() As Variant _
, Optional ByVal vLower As Variant _
, Optional ByVal vUpper As Variant _
) As Boolean