adding sort by date to report