OESortConfsBySDTag

bool OESortConfsBySDTag(OEChem::OEMCMolBase& mol,
                        const std::string& sdtag,
                        bool biggerIsBetter);

Reorders the conformers of mol based on SD values associated with the given sdtag. The SD values must be numeric. biggerIsBetter controls if the highest (true) values appear first in the list or the lowest values (false).

Conformers missing sdtag SD data will be sorted to the end of the list.