Planning an instructional sequence