gotcha, how about: "make sure the DISTINCT ON expressions match those at the beginning of the ORDER BY clause"