SL_SortListFieldRange


NAME
SL_SortListFieldRange -- sorts a range of nodes by a field.

SYNOPSIS
SL_SortListFieldRange(list, order, casesensitive, field, start, end);
A0 D0 D1 D2 D3D4

void SL_SortListFieldRange(LISTHANDLE, UWORD, SLFLAG, UWORD, ULONG, ULONG);

FUNCTION
Sorts a range of nodes by a given field.

INPUTS
list - a LISTHANDLE as returned by SL_CreateListA.
order - one of SORT_ASCENDING (a-z) or SORT_DESCENDING (z-a).
casesensitive - TRUE if the sort is to be case sensitive (i!=I), FALSE if the sort is to ignore case (i==I).
field - the field to sort by. This can be any number from 0 to 9.
start - the position of the starting node. 0 indicates the first node.
end - the position of the ending node. If a number larger than the number
of nodes is given then the list is sorted to the end.

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_SortListFieldRange  Command Section By Type  url:SL_SortListFieldRange
  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_SortListFieldRange
There are no user contributed comments for this page.