Correlated disorder-to-order crossover in the local structure of KxFe2−ySe2−zSz