Daylight v4.9
Release Date: 1 February 2008

Name

dt_mer_defaultsort - retrieves the default sort for a column

Generic Prototype

dt_mer_defaultsort(dt_Handle) => dt_Integer

C Prototype

#include "dt_merlin.h"

dt_Integer dt_mer_defaultsort(dt_Handle column)

FORTRAN Prototype

include 'dt_f_merlin.inc'

integer*4 dt_f_mer_defaultsort(column)

integer*4 column

Description

Retrieves the most-likely sort type for the specified column. Returns DX_SORT_NUM for numeric columns, DX_SORT_CAS for CAS number columns and DX_SORT_ASC for all other columns.

Return Value

Returns the sort type for the column. For all other objects, this property is defined as -1.

Related Topics

dt_mer_alloc_column(3) dt_mer_cellvalue(3) dt_mer_funcapplies(3) dt_mer_function(3) dt_mer_getdata(3) dt_mer_getnitems(3) dt_mer_getroot(3) dt_mer_server(3) dt_mer_sortapplies(3)