Fixes Issue #1291 temporarily so Ryan can continue testing SQl server
does
not
like
"SELECT
DISTINCT"
when the ORDER BY column is not part of the select statement.