The Java JDK specifies that there is no sort order of return for getDeclaredField()
The elements in the array returned are not sorted and are not in any particular order.'
But I need to have the return fields ordered in the same order as seen in the class. In fact, the return order appears to be exactly what I need but believing what I read, I've placed artificial restrictions on field names and then sorted the return. Does anyone have any insight as to what Java plans to do with this method?