<commit_before>import React from 'react';

import Icon from 'common/Icon';
import { formatThousands, formatNumber } from 'common/format';

import CoreDamageDone from 'Parser/Core/Modules/DamageDone';

import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox';

class DamageDone extends CoreDamageDone {
  statistic() {
    return (
      <StatisticBox
      icon={<Icon icon="class_demonhunter" alt="Damage done" />}
      value={`${formatNumber(this.total.effective / this.owner.fightDuration * 1000)} DPS`}
      label='Damage done'
      tooltip={`The total damage done was ${formatThousands(this.total.effective)}.`}
      />
    );
  }
  statisticOrder = STATISTIC_ORDER.CORE(2);
}

export default DamageDone;<commit_msg>Changed the position of damage done box to be the first<commit_after>import React from 'react';

import Icon from 'common/Icon';
import { formatThousands, formatNumber } from 'common/format';

import CoreDamageDone from 'Parser/Core/Modules/DamageDone';

import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox';

class DamageDone extends CoreDamageDone {
  statistic() {
    return (
      <StatisticBox
      icon={<Icon icon="class_demonhunter" alt="Damage done" />}
      value={`${formatNumber(this.total.effective / this.owner.fightDuration * 1000)} DPS`}
      label='Damage done'
      tooltip={`The total damage done was ${formatThousands(this.total.effective)}.`}
      />
    );
  }
  statisticOrder = STATISTIC_ORDER.CORE(1);
}

export default DamageDone;
{'fraction_non_alphanumeric': 0.12185430463576159, 'fraction_numerical': 0.006622516556291391, 'mean_word_length': 4.339222614840989, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1218442', 'n_tokens_mistral': 481, 'n_tokens_neox': 461, 'n_words': 109}