Name
afc_stringnode_sort -- Sorts the strings in the list
Synopsis
int afc_stringnode_sort
(StringNode * sn, short nocase, short inverted);
Description
this function sorts the strings in the list. You can specify some sorting methods,
such like if you want the sort being case insensitive (nocase) or if you want the
order from Z-A instead of A-Z (inverted).
Inputs
- sn
an handler to an already allocated StringNode structure.
- nocase
If set to TRUE, the sort will be case insensitive.
- inverted
If set to TRUE, the sort will be inverted: from Z to A and not A-Z.
- fast
If set to TRUE, the fast sort routine in NodeMaster will be used.