@Override public int compareTo(RuleNet p_other){
  if (p_other == null)   return 1;
  return name.compareToIgnoreCase(p_other.name);
}

@ Override public int compareTo ( RuleNet p_other ) { if ( p_other == null ) return 1 ; return name . compareToIgnoreCase ( p_other . name ) ; }
compares 2 nets by name . useful for example to display nets in alphabetic order .
