             
             if(sortLevel == 1)
             {
-                var srt:Sort = new Sort();
+                var srt:ISort = new Sort();
                         
                 if(sort.usingCustomCompareFunction)
                 {

    /**
     *  @private
     */
    public function set sort(value:Sort):void
    {
        _sort = value;
    }

    /**
     *  @private
     */
    public function get sort():ISort
    {
        return _sort;
    }
