Atoms in the CIF are not given in logical order (i.e. C1, C2 etc.) The recommended procedure is to sort the atom list in some logical order before the final refinement cycles.