fix date_reverse sorting