add cmpDateTime for note sort