rsort
(int (*)(const void * , const void *))rsort);
int rsort ( RSTATUS ** , RSTATUS ** );
if (rsort(&r, &prs) < 0) {