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