Do you want to read this value from the first submission or the last?  If the teacher changes this behavior mid-stream, it might be preferable to set the behavior from the students most recent submission.  So -date_modified sort.