To investigate how the crystal structure changes with temperature, a CE model trained using the structures with a mixed Sn 0.5 Sb 0.5 occupancy along the metal-sulfur chains was sampled using MC simulations. In the ground state, the Sn 2+ /Sb 3+ cations are grouped in pairs along the chain (ABBA); tracking deviations away from this ordering in Figure (a)