Zend certified PHP/Magento developer

Why does my admin customer edit form not seem to honor sort_order?

I’ve got about 100 attributes that I need to display on the customer admin form, and I went thru and set the sort order on nearly all of them, but they don’t seem to actually completely honor the sort_order database field.

For instance my first 3 attributes are “email”, “group_id”, and “account_name” (a custom attribute)

Listing of attributes

Their sort orders are 0, 5, and 19 respectively, but they show up “email” THEN “account_name” THEN “group_id”

Example of customer form

I tried trudging thru all of the code and even was looking at the MySQL queries being generated and I can find no where in the code to trace or debug to find how it’s being rendered. Any pointers would be fantastic