Index: wp-includes/canonical.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- wp-includes/canonical.php	(revision 35855)
+++ wp-includes/canonical.php	(revision )
@@ -587,7 +587,7 @@
 		if ( get_query_var('day') )
 			$where .= $wpdb->prepare(" AND DAYOFMONTH(post_date) = %d", get_query_var('day'));
 
-		$post_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE $where AND post_status = 'publish'");
+		$post_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE $where AND post_status = 'publish' ORDER BY post_name ASC");
 		if ( ! $post_id )
 			return false;
 		if ( get_query_var( 'feed' ) )
