more robust default order in model.class.php