Hi,
adjusting the atom numbering is pretty much manual work. Ot maybe someone has created a Python script that would do it, but I'm not aware of any. I suggest using a graphical visualization program like TMoleX, Avogadro, Chemcraft or Gaussview to renumber the atoms.
Best,
Antti