Super fast mag ordering matching uysing a SpinComparator instead of anonymous
fitting.
Minor unittest fix.