<commit_before>$(function(){
  Dbhero.Dataclips.LoadDatatable = function() {
    if($('.dataTables_wrapper').length < 1) {
      try {
        var $table = $('table#clip_table');

        $table.dataTable({
          scrollX: true,
          searching: false,
          lengthChange: false,
          pagingType: 'simple'
        });

      } catch(e) {
        console.log(e);
      }
    }
  };

  Dbhero.Dataclips.Editor = {
    render: function() {
      this.textarea = $('textarea#dataclip_raw_query');
      this.buildAndInsertEditor();

      try {
        this.textarea.css('display', 'none');
        this.startAce();

        $('.ace_editor').css({'padding':'0'});
      } catch(e) {
        console.log(e);
        this.textarea.css('display', 'block');
      }

      var that = this;<commit_msg>disable initial data table sorting<commit_after>$(function(){
  Dbhero.Dataclips.LoadDatatable = function() {
    if($('.dataTables_wrapper').length < 1) {
      try {
        var $table = $('table#clip_table');

        $table.dataTable({
          aaSorting: [],
          scrollX: true,
          searching: false,
          lengthChange: false,
          pagingType: 'simple'
        });

      } catch(e) {
        console.log(e);
      }
    }
  };

  Dbhero.Dataclips.Editor = {
    render: function() {
      this.textarea = $('textarea#dataclip_raw_query');
      this.buildAndInsertEditor();

      try {
        this.textarea.css('display', 'none');
        this.startAce();

        $('.ace_editor').css({'padding':'0'});
      } catch(e) {
        console.log(e);
        this.textarea.css('display', 'block');
      }

      var that = this;
{'fraction_non_alphanumeric': 0.16706730769230768, 'fraction_numerical': 0.002403846153846154, 'mean_word_length': 2.0327868852459017, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4429169', 'n_tokens_mistral': 544, 'n_tokens_neox': 510, 'n_words': 80}