gidcmp
qsort(mem->crg_groups, n, sizeof (gid_t), gidcmp);
qsort(cr->cr_grps->crg_groups, n, sizeof (gid_t), gidcmp);