A version of Calderón–Mityagin theorem for the class of rearrangement invariant groups. (November 2020)