NAME GU_SortList -- Sorts all nodes in a list. SYNOPSIS GU_SortList(list,slavelist) A0 A1 VOID GU_SortList(struct List *, struct List *); FUNCTION Sorts all items an a list and optionally in a slave list. The slave list option can be used eg. if you have a ListView gadget that shows a number of filenames and another list with the path-names to the files in the other list. Note that the slavelist pointer must be NULL if not used. INPUTS list - A pointer to the list to sort slavelist - A pointer to an optional slave list (or NULL). NOTES Written in assembler using Shell-sort, so it is quite fast.. SEE ALSO GU_AddTail(), GU_ClearList(), GU_DetachList(), GU_AttachList() GU_FindNode(), GU_NodeUp(), GU_NodeDown(), GU_NewList(), GU_CountNodes()
Converted on 19 Jul 1996 with RexxDoesAmigaGuide2HTML by Michael Ranner.