src/js/table/TableActions.js
function(id, colIndex, direction) {
        AppDispatcher.dispatchAction({
            actionType: this.actionTypes.TABLE_SORT,
            component: 'Table',
            id: id,
            data: {
                colIndex: colIndex,
                direction: direction
            }
        });
    }
function(id, colIndex, direction) {
        AppDispatcher.dispatchAction({
            actionType: this.actionTypes.TABLE_SORT,
            component: 'Table',
            id: id,
            data: {
                colIndex: colIndex,
                direction: direction
            }
        });
    }
function ( id , colIndex , direction ) { AppDispatcher . dispatchAction ( { actionType : this . actionTypes . TABLE_SORT , component : 'Table' , id : id , data : { colIndex : colIndex , direction : direction } } ) ; }
Sorts the array of data for the Table based on the sort column index and the direction.
@param {String} id - The unique identifier of the Table instance to be sorted.
@param {Number} colIndex - The index of the table column that is to sorted.
@param {String} direction - The direction to sort (ascending or descending).
Sorts the array of data for the Table based on the sort column index and the direction .