The default sort order for directories is ‘active’. It dispays the most recently active first in the directory. You can change that by using a different sort order in your theme. See the docs for the loops here:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/
In the default theme, the loop for members is controlled by /bpmember/directories/members/members-loop.php in the function:
bp_has_site_members( ‘type=active&per_page=10’ )
Changing type=active to type=alphabetical should get you there.
Thanks so much, Burt! It worked like a charm!
Hmmm … now I’ve managed to get my members to alphabetize, but my groups won’t … I’ve modified the groups-loop.php to show the type=alphabetical but so far, it’s not working … I know something is working, though, because I changed my &per_page to 20 instead of the default 10 … that part’s working. What am I doing wrong?
You are not doing anything wrong. Stop trying to do it right.
Groups only comes in these flavors: active, newest, popular, random
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-site-groups-loop/
Oh, that’s no good. Can’t we make a change to that? I know I’m trying to use Buddypress for a purpose it wasn’t necessarily designed to fulfill (a directory) … if random is a flavor, then can’t we have “non-random” (i.e., alphabetical?) as a flavor, too?
hmm… having groups sorted alphabetically, would definitely be a great thing.
I would need this as well.
Erich73-
Place an enhancement ticket in trac.