3.24.24 OrderBonds

virtual bool OrderBonds(const std::vector<OEBondBase*> &order)

Reorder the bonds of a molecule. This method modifies the order in which the bonds are visited by the iterator returned by OEMolBase::GetBonds. This method does not affect the bond indices of any of the bonds of the molecule. This method does not affect the ordering of any other iterator, including atoms over a molecule, bonds over an atom or neighboring atoms over atom.