diff --git a/core/includes/database.inc b/core/includes/database.inc
index 5f085597ecca3d0001c980b3f9d986c8a55ac196..0064ee46fa155a0f5eca2d7af3f4ba322253555e 100644
--- a/core/includes/database.inc
+++ b/core/includes/database.inc
@@ -39,12 +39,14 @@
  * For example, one might wish to return a list of the most recent 10 rows
  * authored by a given user. Instead of directly issuing the SQL query
  * @code
- * SELECT e.id, e.title, e.created FROM example e WHERE e.uid = $uid LIMIT 0, 10;
+ * SELECT e.id, e.title, e.created FROM example e WHERE e.uid = $uid
+ *   ORDER BY e.created DESC LIMIT 0, 10;
  * @endcode
  * one would instead call the Drupal functions:
  * @code
  * $result = db_query_range('SELECT e.id, e.title, e.created
- *   FROM {example} e WHERE e.uid = :uid', 0, 10, array(':uid' => $uid));
+ *   FROM {example} e WHERE e.uid = :uid
+ *   ORDER BY e.created DESC', 0, 10, array(':uid' => $uid));
  * foreach ($result as $record) {
  *   // Perform operations on $record->title, etc. here.
  * }