# OEPDBOrderAtoms¶

bool OEPDBOrderAtoms(OEMolBase &mol, bool preserveResOrder=false)


Reorders the atoms of a molecule into PDB order, using the residue information associated with each atom. The optional argument preserveResOrder, forces the function to preserve the residue order from the input.