robe-convert/src/main/java/io/robe/convert/common/Converter.java
protected final Collection<FieldEntry> getFields(Class clazz) {
        LinkedList<FieldEntry> fieldList = getAllFields(clazz);

        Collections.sort(fieldList, new Comparator<FieldEntry>() {
            public int compare(FieldEntry o1, FieldEntry o2) {
                return o1.compareTo(o2);
            }
        });
        return fieldList;
    }
protected final Collection<FieldEntry> getFields(Class clazz) {
        LinkedList<FieldEntry> fieldList = getAllFields(clazz);

        Collections.sort(fieldList, new Comparator<FieldEntry>() {
            public int compare(FieldEntry o1, FieldEntry o2) {
                return o1.compareTo(o2);
            }
        });
        return fieldList;
    }
Returns an ordered list of the fields which belongs to the given class.

@param clazz class to get types.
@return ordered list of fields.