protected function compare_terms( $left, $right ) {
		$col = $this->sort_column;
		$left_val = $left->$col;
		$right_val = $right->$col;

		if ( is_int( $left_val ) && is_int( $right_val ) ) {
			return $left_val - $right_val;
		}

		return strcmp( $left_val, $right_val );
	}
protected function compare_terms( $left, $right ) {
		$col = $this->sort_column;
		$left_val = $left->$col;
		$right_val = $right->$col;

		if ( is_int( $left_val ) && is_int( $right_val ) ) {
			return $left_val - $right_val;
		}

		return strcmp( $left_val, $right_val );
	}
protected function compare_terms ( $ left , $ right ) { $ col = $ this -> sort_column ; $ left_val = $ left -> $ col ; $ right_val = $ right -> $ col ; if ( is_int ( $ left_val ) && is_int ( $ right_val ) ) { return $ left_val - $ right_val ; } return strcmp ( $ left_val , $ right_val ) ; }
Comparison function for sorting terms by a column.

Uses `$this->sort_column` to determine field to sort by.

@access protected

@param stdClass $left Term object.
@param stdClass $right Term object.
@return int <0 if left is higher "priority" than right, 0 if equal, >0 if right is higher "priority" than left.
Comparison function for sorting terms by a column .