@FieldOrder is a means of specifying the order in which fields should be displayed within an
object. The annotation is specified at the class level.
The syntax is: @FieldOrder("<comma separated list of field names>")
(the field
names are not case sensitive.).
For example:
Reference 93
Draft (reference/recognised-annotations.xml) Recognised Annotations
@FieldOrder("Name, Address, DateOfBirth, RecentOrders")
public class Customer {
public Date getDateOfBirth() {...}
public List<Order> getRecentOrders() {...}
public String getAddress() {...}
public String getName() {...}
...
}