Session expiration log and logs sort