In a typical paper, the heading consists of the following four elements (in the correct order):

Name, Teacher, Class, Date

Name, Date, Title, Assignment

Assignment, Name, Title, Date

Date, Title, Class, Teacher

Name, Teacher, Class, Date