sorting phases by distance then time, and associating magnitudes with moment tensors by using data id components in hopefully a consistent way