+
+
+
+
+int
+factor_statistics_compare(const struct factor_statistics *f0,
+ const struct factor_statistics *f1, void *aux)
+{
+
+ int cmp0;
+
+ assert(f0);
+ assert(f1);
+
+ cmp0 = compare_values(&f0->id[0], &f1->id[0], aux);
+
+ if ( cmp0 != 0 )
+ return cmp0;
+
+
+ if ( ( f0->id[1].f == SYSMIS ) && (f1->id[1].f != SYSMIS) )
+ return 1;
+
+ if ( ( f0->id[1].f != SYSMIS ) && (f1->id[1].f == SYSMIS) )
+ return -1;
+
+ return compare_values(&f0->id[1], &f1->id[1], aux);
+
+}
+
+unsigned int
+factor_statistics_hash(const struct factor_statistics *f, void *aux)