I haven't been able to find the solution for this while looking through the forums, so forgive me if the answer exists somewhere else.
I'm using the MemberProfile module and it's been a great help while building a site for a client. Having said that they (the client) are asking why the groups field on the member registration form doesn't display in the same order as they have set up groups under the security tab. I went through. I've gone through the code files in the module trying to find where the current sort order has or has not been set and haven't had any luck.
Anyone know where I could add this sort order?