D7 db orderby 829464

See https://drupal.org/node/829464