Used to order particles in a consistent way in Broadphase and Resim. Returns whether the partcile order should be reversed. We want the particle with the lower ID first, unless only one is dynamic in which case that one is first.