 
 import mx.collections.ISortField;
 import mx.collections.errors.SortError;
+import mx.core.FlexGlobals;
 import mx.core.UIComponent;
 import mx.managers.ISystemManager;
 import mx.managers.SystemManager;

        {
            if (numeric == true)
                _compareFunction = numericCompare;
            else
            {
                // we need to introspect the data a little bit

/**
 *  Provides the sorting information required to establish a sort on a field
 *  or property in a collection view.
 *
 *  SortField class is meant to be used with Sort class.
 *
 *  Typically the sort is defined for collections of complex items, that
 *  is items in which the sort is performed on properties of those objects.
 *  As in the following example:
