                         item = IDataRenderer(renderer).data;
                     else
                         item = renderer;
-                    mx_internal::itemRemoved(item, index);
+                    itemRemoved(item, index);
                 }
                 indexToRenderer = [];
             }

     */
    protected function adjustAfterMove(item:Object, location:int, oldLocation:int):void
    {
        mx_internal::itemRemoved(item, oldLocation);
        
        // if item is removed before the newly added item
        // then change index to account for this
        if (location > oldLocation)
            mx_internal::itemAdded(item, location-1);
        else
            mx_internal::itemAdded(item, location);
    }
    
    /**

            keepLayeringEnabled = true;
            insertIndex=0;

            GroupBase.sortOnLayer(bottomLayerItems);
            len = bottomLayerItems.length;

            for (i=0;i<len;i++)
