if 2D, still sort by n
abs of freqs because laskar defines phi in opposite sense as me