public int compareTo ( TYPE_1 c ) { int result = ( this . METHOD_1 ( ) ) - ( c . METHOD_1 ( ) ) ; if ( result == 0 ) { result = ( this . METHOD_2 ( ) ) - ( c . METHOD_2 ( ) ) ; } return result ; }

public int compareTo ( TYPE_1 c ) { int result = ( this . METHOD_2 ( ) ) - ( c . METHOD_2 ( ) ) ; if ( result == 0 ) { result = ( this . METHOD_1 ( ) ) - ( c . METHOD_1 ( ) ) ; } return result ; }
