code: @Pure
  	protected int compareConnections(PT p1, PT p2) {
  		assert p1 != null && p2 != null;
  		return p1.hashCode() - p2.hashCode();
  	}
docs: Compare the two given entry points.
  
  @param p1 the first connection.
  @param p2 the second connection.
  @return <code>-1</code> if {@code p1} is lower than {@code p2},
  <code>1</code> if {@code p1} is greater than {@code p2},
  otherwise <code>0</code>.