![](../icons/Help.png) | CVVSortIndex2 Method |
Sort index VV based on 2 data VVs - set orders.
Available since Oasis montaj version: 5.0.2
License: Available to anyone with an Oasis Montaj license.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Create an Index VV (of type <define>GS_LONG</define>) based on a data VV.
This index vv can then be used by the IndexOrder method
to order a group of VV's. The individual VVs may be ordered
in ascending or descending order.
If the primary VV values of two indices are the same, then
the secondary VV values are compared. If the secondary values
are the same, the ternary values are compared, etc
Syntaxpublic void SortIndex2(
CVV d2_vv,
CVV ivv,
int ord1,
int ord2
)
Public Sub SortIndex2 (
d2_vv As CVV,
ivv As CVV,
ord1 As Integer,
ord2 As Integer
)
public:
void SortIndex2(
CVV^ d2_vv,
CVV^ ivv,
int ord1,
int ord2
)
member SortIndex2 :
d2_vv : CVV *
ivv : CVV *
ord1 : int *
ord2 : int -> unit
Parameters
- d2_vv
- Type: GeoEngine.Core.GXNetXCVV
Secondary Data VV - ivv
- Type: GeoEngine.Core.GXNetXCVV
Index VV of type INT - ord1
- Type: SystemInt32
Primary Sort order <define>VV_SORT</define> - ord2
- Type: SystemInt32
Secondary Sort order <define>VV_SORT</define>
See Also