      *  first the layer property, and then the item order, so a stable sort is important (and the 
      *  built in flash sort is not stable).
      */
-	private static function sortOnLayer(a:Vector.<IVisualItem>):void
-	{
-		var len:Number = a.length;
-		var tmp:IVisualItem;
-		if (len<= 1)
-			return;
-		for (var i:int = 1;i<len;i++)
-		{
-			for (var j:int = i;j > 0;j--)
-			{
-				if ( a[j].layer < a[j-1].layer )
-				{
-					tmp = a[j];
-					a[j] = a[j-1];
-					a[j-1] = tmp;
-				}
-				else
-					break;
-			}
-		}
-	}
+    private static function sortOnLayer(a:Vector.<IVisualItem>):void
+    {
+        var len:Number = a.length;
+        var tmp:IVisualItem;
+        if (len<= 1)
+            return;
+        for (var i:int = 1;i<len;i++)
+        {
+            for (var j:int = i;j > 0;j--)
+            {
+                if ( a[j].layer < a[j-1].layer )
+                {
+                    tmp = a[j];
+                    a[j] = a[j-1];
+                    a[j-1] = tmp;
+                }
+                else
+                    break;
+            }
+        }
+    }
 
     /**
      *  @private
      */
     private function assignDisplayObjectTo(item:Object,mergeData:GroupDisplayObjectMergeData):void
     {
-    	if (mergeData.lastDisplayObject == this)
-    		mergeData.insertIndex = 0;
-    	else
-    		mergeData.insertIndex = super.getChildIndex(mergeData.lastDisplayObject) + 1;
-    		
+        if (mergeData.lastDisplayObject == this)
+            mergeData.insertIndex = 0;
+        else
+            mergeData.insertIndex = super.getChildIndex(mergeData.lastDisplayObject) + 1;
+            
         if (item is DisplayObject)
         {
-        	super.setChildIndex(item as DisplayObject, mergeData.insertIndex);
-        	
+            super.setChildIndex(item as DisplayObject, mergeData.insertIndex);
+            
             mergeData.lastDisplayObject = item as DisplayObject;
             // Null this out so that we are forced to create one for the next item
             mergeData.currentAssignableDO = null; 

     * 
     *  @event itemAdded Dispatched when the item is added to the child list
     * 
     *  @throws ArgumentError if the child is the same as the parent.
     *  @throws RangeError Throws if the index position does not exist in the child list.
     */
    public function addItemAt(item:Object, index:int):Object
    {

     *  position specified.  An index of 0 represents the first item
     *  and the back (bottom) of the display list.
     *
     *  @param item The item to add as a child of this Group instance.
     * 
     *  @param index The index position to which the item is added. If 
     *  you specify a currently occupied index position, the child object 
     *  that exists at that position and all higher positions are moved 
