992
993
g_slist_sort_real (GSList *list,
1006
1007
while ((l2 = l2->next) != NULL)
1015
1016
return g_slist_sort_merge (g_slist_sort_real (list, compare_func, user_data),
1016
g_slist_sort_real (l2, compare_func, user_data),
1017
g_slist_sort_real (l2, compare_func, user_data),
1024
1025
* @compare_func: the comparison function used to sort the #GSList.
1028
1029
* the first element comes after the second.
1030
1031
* Sorts a #GSList using the given comparison function.