Thanks for that Shane. The best place for this is the bp-custom.php. I tried to put it in the functions.php and it threw up on me. That’s probably a Headway compatibility issue.
There is an add-on called BuddyPress Real Names which allows you to sort in a certain manner. Client requests the alphabetical to be in last name sorting