List the id of students who attended  statistics courses in the order of attendance date.
return courses ;return students who  attended #1 ;return #2 where  #1 is statistics ;return ids of  #3 ;return attendance dates of  #3 ;return #4 sorted by #5
['select', 'project', 'comparative', 'project', 'project', 'sort']