reorder fields in class to respect java convention.