Sorting by xprofile field

Hi everyone. I’m kind of lost on how to sort by an xprofile field. My code is below which works fine on listing the appropriate members for each group. The groups being “Executive Board” and “Steering Committee”.

I have tried adding the “type=”alphabetical”, however that doesn’t give any of the correct results. Instead it seems to list only a few of the members who are not even in the same group.