     addNewClause: ->
         @clauses.add(query: this, available_fields: @fields, field: @initialField)
 
-    _updateSort: -> @results._updateSort()
+    _updateSort: _.debounce ->
+        @results._updateSort()

        this.addNewClause()
        this

    setSortField: (field) ->
        @sortAscending = if @sortField is field then !@sortAscending else true
        @sortField = field

    ensureLoaded: -> @results.ensureLoaded()


            this.trigger('load')
        )
        if options.defaultSort
            @setSortField( @fields.findWhere(id: options.defaultSort), true )
        if @initialFieldIndex
            @initialField = this.fields.at(@initialFieldIndex)
        @initialField ||= this.fields.findWhere(id: "code") ||
