On the long-range order in superconducting intercalated layer compounds