     ###
     toArray: -> @slice()
 
-    ###*
-    # default filtration function
-    #
-    ###
-
-    _filter: (val, pos) -> true
-
 
     ###*
+    comparison function. Compares two objects by this.compareKey
+
+    @method compare
+    @private
+    @param {any} a
+    @param {any} b
     ###
     compare: (a, b) ->
 



    ###*
    # sorted.insert(val1, val2, ...)
    # insert multi values
    # returns the list of the results of insertOne()
    #
    ###

    insert: (vals...) ->

        @insertOne(val) for val in vals

        return @

    ###*
    # sorted.remove(pos)
    # remove the value in the given position
    #
    ###
    remove: (pos) ->


        return @

    ###*
    binary search

    @method bsearch
    @param {any} val
    @return {Number} position of the value
    ###
    bsearch: (val) ->

        return -1 if not @length

        mpos = null
        mval = null
        spos = 0
        epos = @length

