         flex:       type: 'number',  default: 1
         fixedWidth: type: 'number'
         textAlign:  type: 'string', default: 'left'
-        sortBy:     type: 'function'
+        sortBy:     type: 'any'
         onColumnClick: type: 'function'
 
     derived:


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

        this.on('change:src change:results', ->
            this.trigger('load')
        )
        if options.defaultSort
            @setSortField( @fields.findWhere(id: options.defaultSort)  )
        if @initialFieldIndex
            @initialField = this.fields.at(@initialFieldIndex)
        @initialField ||= this.fields.findWhere(id: "code") ||
