1. Open the export parameters
2. Select the Output tab
3. Expand Schedule
4. Select all fields (course and teacher) from under the Schedule category

For example:
Schedule - Course - Course ID (or Course Name)
Schedule - Information Scheduled - Teachers - Faculty Name

This will keep all information of one course together (Course ID, Course Name, Faculty Name) before it lists the next course's information for the student.