Daylight v4.9
Release Date: 1 February 2008

Name

dt_seqsort - sort objects in a sequence by string values

Generic Prototype

dt_seqsort(dt_Handle) => dt_Boolean

C Prototype

#include "dt_smiles.h"

dt_Boolean dt_seqsort(dt_Handle sequence)

FORTRAN Prototype

include 'dt_f_smiles.inc'

logical dt_f_seqsort(sequence)

integer*4 sequence

Description

Sorts the member objects of a sequence alphabetically by their string values (what dt_stringvalue(3) would return for each object in the sequence. Objects for which dt_stringvalue(3) returns invalid string will be at the end of the sequence.

Return Value

Returns the success (TRUE) or failure (FALSE) of the operation.

Related Topics

dt_alloc_seq(3) dt_atend(3) dt_atstart(3) dt_count(3) dt_next(3) dt_reset(3) dt_append(3) dt_delete(3) dt_insert(3) dt_setadjunct(3) dt_stringvalue(3) dt_toend(3)