field order when mixing bound (beanitem) and unbound properties

Hello,

I am binding a form to a Beanitem using the following standard code:


BeanItem<Applicationform> bi = new BeanItem<Applicationform>(application.getApplicationForm());
form.setItemDataSource(bi);

I am also setting the fields order using:


Vector<String> fieldsOrder = new Vector<String>();

fieldsOrder.add("usage");
fieldsOrder.add("plate");
fieldsOrder.add("model");

form.setVisibleItemProperties(fieldsOrder);

Then I want to add a field that is unbound, not related to the beanitem. I use this code:


form.getLayout().addComponent(new TextField("A Field"));

The final order of the fields is:
the custom field (“A Field”)
the fields order from the code above (“usage”, “plate” and “model”)

I want to insert the “A field” between the others. Any ideas?

Thank you in advance!

Jim