Index: wp-includes/user.php
===================================================================
--- wp-includes/user.php	(revision 17595)
+++ wp-includes/user.php	(working copy)
@@ -648,7 +648,7 @@
  * @param bool $all Whether to retrieve all blogs or only blogs that are not marked as deleted, archived, or spam.
  * @return array A list of the user's blogs. False if the user was not found or an empty array if the user has no blogs.
  */
-function get_blogs_of_user( $id, $all = false ) {
+function get_blogs_of_user( $id, $all = false, $order_by = false ) {
 	global $wpdb;
 
 	if ( !is_multisite() ) {
@@ -710,6 +710,16 @@
 			$blog_deets[ $blog_id ]->siteurl		= $blog->siteurl;
 		}
 	}
+	
+	if( false !== $order_by && in_array( $order_by, array( 'userblog_id', 'blogname', 'domain', 'path', 'site_id', 'siteurl' ) ) ) {
+		function bloglist_compare( $a, $b ){
+			if ( $a->$order_by == $b->$order_by )
+				return 0;
+			else
+				return ( $a->$order_by < $b->$order_by ) ? -1 : 1;
+		}
+		uasort($blog_deets, 'bloglist_compare');
+	}
 
 	return apply_filters( 'get_blogs_of_user', $blog_deets, $id, $all );
 }
