silc_list_sort
SYNOPSIS
void silc_list_sort(SilcList list, SilcCompare compare, context);
DESCRIPTION
Sort the list. The `compare' function will be called with `context' to do comparison between the entries. The `compare' must return SILC_COMPARE_LESS_THAN, SILC_COMPARE_EQUAL_TO, or SILC_COMPARE_GREATER_THAN zero if the first argument is considered to be respectively less than, equal to, or greater than the second. The entries are then sorted in ascending order. The function must not return SILC_COMPARE_STOP.
NOTES
The list must be initialized with silc_list_init_prev for sorting to work.