can only sort by attributes that actually exist in the DB model