cmpndewey
int cmpndewey(int d1[], int n1, int d2[], int n2);
if (cmpndewey(dewey, ndewey, shp->dewey, shp->ndewey) > 0) {