                 else
                     new Lanes.Models.Query.SyncedResult(this, pageSize: @pageSize)
 
+    events:
+        'change:sortField':     '_updateSort'
+        'change:sortAscending': '_updateSort'
+
     constructor: (options = {}) ->
         super
         @fields = new AvailableFields([], query: this)

        flex:       type: 'number',  default: 1
        fixedWidth: type: 'number'
        textAlign:  type: 'string', default: 'left'
        sortBy:     type: 'function'
        onColumnClick: type: 'function'

    derived:


    addNewClause: ->
        @clauses.add(query: this, available_fields: @fields, field: @initialField)

    _updateSort: -> @results._updateSort()
