function getClassesToAdd(columnStatesManager, column, showSortIndicator, headerAction) {
  var cssClasses = [HEADER_SORT_CLASS];

  if (headerAction) {
    cssClasses.push(HEADER_ACTION_CLASS);
  }

  if (showSortIndicator === false) {
    cssClasses.push(HEADER_CLASS_INDICATOR_DISABLED);
  } else if (columnStatesManager.isColumnSorted(column)) {
    var columnOrder = columnStatesManager.getSortOrderOfColumn(column);
    cssClasses.push(orderToCssClass.get(columnOrder));
  }

  return cssClasses;
}
Get CSS classes which should be added to particular column header.
@param {Object} columnStatesManager Instance of column state manager.
@param {Number} column Physical column index.
@param {Boolean} showSortIndicator Indicates if indicator should be shown for the particular column.
@param {Boolean} headerAction Indicates if header click to sort should be possible.
@returns {Array} Array of CSS classes.