qsortWithData

This is just like the standard C qsort() function, but the comparison routine accepts a user data argument.

This is guaranteed to be a stable sort since version 2.32.

void
qsortWithData

Parameters

pbase const(void)*

start of array to sort

totalElems int

elements in the array

size size_t

size of each element

compareFunc glib.types.CompareDataFunc

function to compare elements