and they're doing that bullshit tag-param thing.
quick_sort takes a pointer to an array of items, an integer count of how many items are there, and a pointer to a comparator function.
the comparator function is never used and it's always passed as a NULL. but a TYPED NULL, so quick_sort can be overloaded.
but here's the thing:
THE ARRAY PARAMETER IS ALSO TYPED.
You could overload it with just the array pointer! There is no reason for this damn function to have a comparator function! it is never used!