Sort notes by time in list