         var n:int;
         var i:int;
 
+        systemManager.getSandboxRoot().removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler, true);
+        systemManager.getSandboxRoot().removeEventListener(SandboxMouseEvent.MOUSE_UP_SOMEWHERE, mouseLeaveHandler);
+
         // find out if we hit the sort arrow
         s = Sprite(getChildByName("sortArrowHitArea"));
 

                }
            }
        }
    }

    mx_internal function _placeSortArrow():void

        var s:Sprite;
        var i:int;

        systemManager.getSandboxRoot().addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler, true, 0, true);
        systemManager.getSandboxRoot().addEventListener(SandboxMouseEvent.MOUSE_UP_SOMEWHERE, mouseLeaveHandler, false, 0, true);

        // find out if we hit the sort arrow
        s = Sprite(getChildByName("sortArrowHitArea"));

