question: public int compareTo ( Object p_other ) { if ( p_other == null ) return 1 ; if ( p_other instanceof BrdComponent ) { return name . compareToIgnoreCase ( ( ( BrdComponent ) p_other ) . name ) ; } return 1 ; }
target:  Compares 2 components by name. Useful for example to display components in alphabetic order.