Click or drag to resize

CDUSortIndex2 Method

Create an ordered index from two channels. The order of rows where compared items are the same is preserved.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void SortIndex2(
	CDB db,
	int line,
	int ch1,
	int sort1,
	int ch2,
	int sort2,
	int in_ch
)

public static void SortIndex2(
	CDB db,
	int line,
	int ch1,
	int sort1,
	int ch2,
	int sort2,
	int in_ch
)

Parameters

db
Type: GeoEngine.Core.GXNetCDB
Database
line
Type: SystemInt32
Line symbol
ch1
Type: SystemInt32
Sort by this channel [<define>DB_LOCK_READONLY</define>]
sort1
Type: SystemInt32
<define>DU_SORT</define>
ch2
Type: SystemInt32
Then by this channel [<define>DB_LOCK_READONLY</define>]
sort2
Type: SystemInt32
<define>DU_SORT</define>
in_ch
Type: SystemInt32
Output index channel (should be int) [<define>DB_LOCK_READWRITE</define>]
See Also