Changes order of classes.