A callback used with SDL sorting and binary search functions.
\param userdata the userdata pointer passed to the sort function.
\param a a pointer to the first element being compared.
\param b a pointer to the second element being compared.
\returns -1 if a should be sorted before b, 1 if b should be sorted
before a, 0 if they are equal. If two elements are equal, their
order in the sorted array is undefined.
\since This callback is available since SDL 3.2.0.
A callback used with SDL sorting and binary search functions.
\param userdata the userdata pointer passed to the sort function. \param a a pointer to the first element being compared. \param b a pointer to the second element being compared. \returns -1 if a should be sorted before b, 1 if b should be sorted before a, 0 if they are equal. If two elements are equal, their order in the sorted array is undefined.
\since This callback is available since SDL 3.2.0.
\sa SDL_qsort_r \sa SDL_bsearch_r