Superconductivity in ordering systems