anchor.diff:              %% no change
               {noreply, State};
           Ports0 ->
  -            Ports = update_grid(Grid, Opt, Ports0),
  +            Ports = update_grid(Grid, sel(State), Opt, Ports0),
               {noreply, State#state{ports=Ports}}
       end;
   
   handle_info({active, Node}, State = #state{parent=Parent, grid=Grid, opt=Opt,
   					   timer=Timer0}) ->
       Ports0 = get_ports(Node),
  -    Ports = update_grid(Grid, Opt, Ports0),
  +    Ports = update_grid(Grid, sel(State), Opt, Ports0),
       wxWindow:setFocus(Grid),
       create_menus(Parent),
       Timer = observer_lib:start_timer(Timer0),
  
positive.code: 	    [Pid || {process, Pid} <- Ms]
      end.
  
  update_grid(Grid, Opt, Ports) ->
      wx:batch(fun() -> update_grid2(Grid, Opt, Ports) end).
  update_grid2(Grid, #opt{sort_key=Sort,sort_incr=Dir}, Ports) ->
      wxListCtrl:deleteAllItems(Grid),
      Update =
  	fun(#port{id = Id,
  
negative.code: 	      NewKey -> Opt0#opt{sort_key=NewKey}
  	  end,
      Ports0 = get_ports(Node),
      Ports = update_grid(Grid, sel(State), Opt, Ports0),
      wxWindow:setFocus(Grid),
      {noreply, State#state{opt=Opt, ports=Ports}};
  
  