whole_func_string: function(direction) {
          var me = this;
          me.direction = direction ? direction.toUpperCase() : direction;
          me.updateSortFunction();
      }
func_code_string: function(direction) {
          var me = this;
          me.direction = direction ? direction.toUpperCase() : direction;
          me.updateSortFunction();
      }
func_documentation_string: Set the sorting direction for this sorter.
  @param {String} direction The direction to sort in. Should be either 'ASC' or 'DESC'.