student sort studyhistory by view, like, expirydate