SL_SortListField


NAME
SL_SortListField -- sorts a list by a given field name.

SYNOPSIS
SL_SortListField(list, order, casesensitive, field);
A0 D0 D1 D2

void SL_SortListField(LISTHANDLE, UWORD, SLFLAG, UWORD);

FUNCTION
Sorts a list of nodes the specified field.

INPUTS
list - a LISTHANDLE as returned by SL_CreateListA.
order - one of SORT_ASCENDING or SORT_DESCENDING.
casesensitive - TRUE if the sort is to be case sensitive, FALSE if the
sort is to ignore case.
field - the field to sort by. This can be any number from 0 to 9.

SEE ALSO
SL_AddNodeAfter, SL_AddNodeBefore, SL_AddNodeHead, SL_AddNodeSorted, SL_AddNodeSortedFunc, SL_AddNodeTail, SL_ClearList, SL_CountNodes, SL_CreateListA, SL_CreateNodeA, SL_FindNodeFunc, SL_FindNodeName, SL_FindNodePos, SL_FindNodeUserData, SL_FirstNode, SL_FreeList, SL_FreeNode, SL_GetListAttr, SL_GetNodeAttr, SL_IsListEmpty, SL_LastNode, SL_NextNode, SL_PrevNode, SL_RemoveNode, SL_RemoveNodeHead, SL_RemoveNodeTail, SL_SetListAttrA, SL_SetNodeAttrA, SL_SortList, SL_SortListField, SL_SortListFieldRange, SL_SortListFunc, SL_SortListFuncRange, SL_SortListRange.

 

SL_SortListField  Command Section By Type  url:SL_SortListField
  created:2008-03-01 23:36:36   last updated:2008-03-01 23:36:36
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_SortListField
There are no user contributed comments for this page.