@@ -396,77 +396,10 @@ struct hkl_data
396396 if (pa->tau_z < pb->tau_z) return -1;
397397 if (pa->tau_z > pb->tau_z) return 1;
398398
399- /* In case of tie, sort by h also */
400- if (pa->h < pb->h) return -1;
401- if (pa->h > pb->h) return 1;
402-
403- /* In case of tie, sort by k also */
404- if (pa->k < pb->k) return -1;
405- if (pa->k > pb->k) return 1;
406-
407- /* In case of tie, sort by l also */
408- if (pa->l < pb->l) return -1;
409- if (pa->l > pb->l) return 1;
410-
411399 /* In case of tie, sort by F2 also */
412400 if (pa->F2 < pb->F2) return -1;
413401 if (pa->F2 > pb->F2) return 1;
414402
415- /* In case of tie, sort by cutoff also */
416- if (pa->cutoff < pb->cutoff) return -1;
417- if (pa->cutoff > pb->cutoff) return 1;
418-
419- /* In case of tie, sort by sig123 also */
420- if (pa->sig123 < pb->sig123) return -1;
421- if (pa->sig123 > pb->sig123) return 1;
422-
423- /* In case of tie, sort by m1 also */
424- if (pa->m1 < pb->m1) return -1;
425- if (pa->m1 > pb->m1) return 1;
426-
427- /* In case of tie, sort by sig123 also */
428- if (pa->m2 < pb->m2) return -1;
429- if (pa->m2 > pb->m2) return 1;
430-
431- /* In case of tie, sort by m3 also */
432- if (pa->m3 < pb->m3) return -1;
433- if (pa->m3 > pb->m3) return 1;
434-
435- /* In case of tie, sort by u1x also */
436- if (pa->u1x < pb->u1x) return -1;
437- if (pa->u1x > pb->u1x) return 1;
438-
439- /* In case of tie, sort by u1y also */
440- if (pa->u1y < pb->u1y) return -1;
441- if (pa->u1y > pb->u1y) return 1;
442-
443- /* In case of tie, sort by u1z also */
444- if (pa->u1z < pb->u1z) return -1;
445- if (pa->u1z > pb->u1z) return 1;
446-
447- /* In case of tie, sort by u2x also */
448- if (pa->u2x < pb->u2x) return -1;
449- if (pa->u2x > pb->u2x) return 1;
450-
451- /* In case of tie, sort by u2y also */
452- if (pa->u2y < pb->u2y) return -1;
453- if (pa->u2y > pb->u2y) return 1;
454-
455- /* In case of tie, sort by u2z also */
456- if (pa->u2z < pb->u2z) return -1;
457- if (pa->u2z > pb->u2z) return 1;
458-
459- /* In case of tie, sort by u3x also */
460- if (pa->u3x < pb->u3x) return -1;
461- if (pa->u3x > pb->u3x) return 1;
462-
463- /* In case of tie, sort by u3y also */
464- if (pa->u3y < pb->u3y) return -1;
465- if (pa->u3y > pb->u3y) return 1;
466-
467- /* In case of tie, sort by u3z also */
468- if (pa->u3z < pb->u3z) return -1;
469- if (pa->u3z > pb->u3z) return 1;
470403
471404 return 0;
472405 } /* SX_list_compare */
0 commit comments