<commit_before>import Component from '@ember/component';
import ManageLabels from 'shared/mixins/manage-labels';
import layout from './template';

export default Component.extend(ManageLabels, {
  layout,
  model:         null,
  expandOnInit:  true,
  sortBy:        'displayState',
  showKind:      true,
  descending:    true,
  initExpand:       true,
  headers:       [
    {
      name:           'displayState',
      sort:           ['displayState'],
      translationKey: 'generic.state',
      width:          120
    },
    {
      name:           'name',
      sort:           ['name'],
      translationKey: 'generic.name',
      width:          350
    },
    {
      name:           'displayImage',
      sort:           ['displayImage'],
      translationKey: 'generic.image',
    },
    {
      name:           'node',
      sort:           ['displayName'],
      translationKey: 'generic.node',

    },
  ],
});
<commit_msg>Switch node sortkey on Workload page.<commit_after>import Component from '@ember/component';
import ManageLabels from 'shared/mixins/manage-labels';
import layout from './template';

export default Component.extend(ManageLabels, {
  layout,
  model:         null,
  expandOnInit:  true,
  sortBy:        'displayState',
  showKind:      true,
  descending:    true,
  initExpand:       true,
  headers:       [
    {
      name:           'displayState',
      sort:           ['displayState', 'sortName', 'id'],
      translationKey: 'generic.state',
      width:          120
    },
    {
      name:           'name',
      sort:           ['sortName', 'id'],
      translationKey: 'generic.name',
      width:          350
    },
    {
      name:           'displayImage',
      sort:           ['displayImage', 'displayIp', 'created'],
      translationKey: 'generic.image',
    },
    {
      name:           'node',
      sort:           ['node.sortName', 'node.ipAddress', 'node.id'],
      translationKey: 'generic.node',

    },
  ],
});

{'fraction_non_alphanumeric': 0.13209442491210446, 'fraction_numerical': 0.006027122049221497, 'mean_word_length': 1.7782426778242677, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5204416', 'n_tokens_mistral': 579, 'n_tokens_neox': 570, 'n_words': 126}