Drupal throws MySQL "expression [...] of ORDER BY clause is not in SELECT list" errors