Update GenericData.java

compareIdx property to control compare order of fields