The members loop has a type called ‘random’
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/
So you will want to change bp_has_members() within members/index.php to
“
Hi Chris,
I did find that for the members page. However i do not use that page on my site. I am talking about the “group” homepage where it displays all the memebrs of the group. This page is found at groups/single/members.php and the function is bp_group_has_members() but it does not seem to accept the same arguments as the function you mentioned.
Thanks again
Ahh, sorry.
Theirs a codex entry for the Group members loop ( bp_group_members(); ) but theirs no type listed.
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-group-members-loop-bp_group_has_members/
I’ll have a look at the code when i get home in afew hours to see where the ‘join date’ order is set, and see if we can filter it and modify it.
The first code you give Chris, would that change the group tree to show groups alphabetically?
I am looking for that.