also converting the sortDate to DateTime