ctdTrim() now only examines first 20 percent of data to determine whether ascending