The fields order are being mixed up on the form display.
Steps to reproduce
Create a form with some fields
Edit the same form
Check the order of the fields in the visualization
The current behavior assumes that the database would take care of ordering the fields (which are rows in another table), since relational databases do not enforce any ordering of rows, the fields of a form would appear in an arbitrary order.
Because of this, there is no way of enforcing any past ordering of fields previous to the upcoming patch. I hope this is not a problem.
-- LucasMelo - 02 Jul 2013
Added merge request: https://gitorious.org/noosfero/noosfero/merge_requests/338
-- LucasMelo - 03 Jul 2013