code: public static int compare(XtendParameter p1, XtendParameter p2) {
  		if (p1 != p2) {
  			if (p1 == null) {
  				return Integer.MIN_VALUE;
  			}
  			if (p2 == null) {
  				return Integer.MAX_VALUE;
  			}
  			final JvmTypeReference t1 = p1.getParameterType();
  			final JvmTypeReference t2 = p2.getParameterType();
  			if (t1 != t2) {
  				final int cmp;
  				if (t1 == null) {
  					cmp = Integer.MIN_VALUE;
  				} else if (t2 == null) {
  					cmp = Integer.MAX_VALUE;
  				} else {
  					cmp = t1.getIdentifier().compareTo(t2.getIdentifier());
  				}
  				if (cmp != 0) {
  					return cmp;
  				}
  			}
  		}
  		return 0;
  	}
docs: Compare the two formal parameters.
  
  @param p1 the first parameter to compare.
  @param p2 the second parameter to compare.
  @return A negative value if <code>p1</code> is
  lower than <code>p2</code>, a positive value if
  <code>p1</code> is greater than <code>p2</code>,
  otherwise <code>0</code>.