change order of model classes