@@ -0,0 +1,471 @@
+from collections import OrderedDict%0A%0Afrom flask_wtf import Form%0A%0A%0Aclass BaseForm(Form):%0A    def __iter__(self):%0A        field_order = getattr(self, '_order', %5B%5D)%0A%0A        if field_order:%0A            ordered_fields = OrderedDict()%0A%0A            for name in field_order:%0A                ordered_fields%5Bname%5D = self._fields.pop(name)%0A%0A            ordered_fields.update(self._fields)%0A%0A            self._fields = ordered_fields%0A%0A        return super(BaseForm, self).__iter__()%0A

Introduce a `BaseForm` to allow customization of field order