2009/2/21 Michael Anderson usufruct@gmail.com:
It is not apparent to me how the default layout is generated. When I examine the $form variable I don't see anything that would indicate an ordering of elements. Is this something that has to be done via .tpl file in theme? I would rather avoid that because then the login form becomes disordered again if I change themes. Please advise.
You need to look at 'weight' - http://api.drupal.org/api/file/developer/topics/forms_api_reference.html/6#weightval
Dan