         if (!dataProvider)
             return false;
         
-        var sort:Sort = dataProvider.sort;
+        var sort:ISort = dataProvider.sort;
         if (sort)
             sort.compareFunction = null;
         else


import mx.collections.ICollectionView;
import mx.collections.IList;
import mx.collections.Sort;
import mx.collections.SortField;
import mx.core.EventPriority;
import mx.core.IFactory;
import mx.core.IIMESupport;

    }
    
}
}
