For an ionic compound, is it always true that the greater the thermal stability, the greater the lattice energy. E.g. for 2 ionic compounds MX and MY, if MX has a higher thermal stability than MY, does MX necessarily have a higher lattice energy?