Sort magnitudes using "pickmag pre 2011" rules, output preferred magnitude id