code: public boolean isOrderableChildNodesSupported(final InternalQName primaryType, final InternalQName[] mixinTypes)
        throws RepositoryException
     {
  
        final int nlen = mixinTypes != null ? mixinTypes.length : 0;
        for (int i = -1; i < nlen; i++)
        {
           InternalQName name;
           if (i < 0)
           {
              name = primaryType;
           }
           else
           {
              name = mixinTypes[i];
           }
  
           final NodeTypeData nt = this.nodeTypeRepository.getNodeType(name);
  
           if (nt != null)
           {
              if (nt.hasOrderableChildNodes())
              {
                 return true;
              }
  
              final Set<InternalQName> supers = this.nodeTypeRepository.getSupertypes(nt.getName());
              for (final InternalQName suName : supers)
              {
                 final NodeTypeData su = this.nodeTypeRepository.getNodeType(suName);
                 if (su != null && su.hasOrderableChildNodes())
                 {
                    return true;
                 }
              }
           }
        }
  
        return false;
     }
docs: {@inheritDoc}
  @throws RepositoryException