Classification of isomers