#1261: Drupal doesn't support UNION and ORDER BY in the same query. Move the sorting into PHP.