public List < XProperty > getOrderedProperties ( ) { final List < XProperty > result = Introspector . getProperties ( clazz ) ; Collections . sort ( result , new XProperty . NaturalOrder ( ) ) ; return result ; }
Returns properties in natural order i . e . &quot ; ORDER BY VERSION DECLARING CLASS NAME&quot ;