/* Like g_byte_array_sort(), but the comparison function takes an extra user data argument.  */
void g_byte_array_sort_with_data(GByteArray *array, GCompareDataFunc compare_func, gpointer user_data)
/* Like g_byte_array_sort(), but the comparison function takes an extra user data argument.  */
void g_byte_array_sort_with_data(GByteArray *array, GCompareDataFunc compare_func, gpointer user_data)
{
  g_array_sort_with_data ((GArray *)array, compare_func, user_data);
}