errorsort
qsort(errors, nerrors, sizeof (Eptr), errorsort);
static int errorsort(const void *arg1, const void *arg2);