Index: bp-core/bp-core-classes.php
===================================================================
--- bp-core/bp-core-classes.php	(revision 7629)
+++ bp-core/bp-core-classes.php	(working copy)
@@ -310,7 +310,10 @@
 					$sql['orderby'] = "ORDER BY u.value";
 					$sql['order']   = "ASC";
 				}
-
+                                //when aphabetical sorting make sure the user has activated account and not marked as spam etc
+                                //user_status=0 means active , we are doing a NOT IN in the subquery to avoid large dataset assuming no. of spammers etc are less than active 
+                                $sql['where'][] =  $wpdb->prepare( "u.{$this->uid_name} NOT IN ( SELECT ID FROM {$wpdb->users} WHERE user_status != %d )", 0 );
+                                
 				break;
 
 			// Any other 'type' falls through
