 
 package com.threerings.flash {
 
+import com.threerings.util.ArrayUtil;
 import com.threerings.util.ClassUtil;
 
 import flash.display.DisplayObject;

public class DisplayUtil
{
    /**
     * Quicksorts container's children.
     * 
     * comp is a function that takes two DisplayObjects, and returns int -1 if the first
     * object should appear before the second in the container, 1 if it should appear after,
     * and 0 if the order does not matter. (Since quicksort is not a stable sort algorithm,
     * returning 0 in the compare function is equivalent to returning -1).
     */ 
    public static function sortDisplayChildren (container :DisplayObjectContainer, comp :Function) :void
    {
        qsortDisplayChildren(container, 0, container.numChildren - 1, comp);
    }

    /**

        }
        return inStr;
    }


}
}
