On the classification of quasihomogeneous functions