silc_list_sort
SYNOPSIS
void silc_list_sort(SilcList *list, int (*compare)(void *entry1, void *entry2, void *context), void *context);
DESCRIPTION
Sort the list. The `compare' function will be called with `context' to do comparison between the entries. The `compare' must return less than, equal to, or 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.
NOTES
The list must be initialized with silc_list_init_prev for sorting to work.