How does the sentence end?

The teacher asked Ian but not Robert if they were going to organize their notebook because
Ian was disorganized.