@Override
            public int compare (SavedField o1, SavedField o2) {
                    return o1.field.getName().compareTo(o2.field.getName());
            }
The field serializer is the default serializer used for custom class.

@author Lars Wesselius, Nathan Sweet
jme3-networking/src/main/java/com/jme3/network/serializing/serializers/FieldSerializer.java