+ /* if the tape timestamps match, sort them by usage_order, which is derived
+ * from the order the tapes were written in a single run */
+ int r = strcmp(a_ds, b_ds);
+ if (r != 0)
+ return r;
+ return (a_nt->usage_order > b_nt->usage_order)? 1 : -1;