<commit_before><?php

class Testimonial extends DataObject {

    private static $db                = array(
        'Author'   => 'Text',
        'Approved' => 'Boolean',
        'Content'  => 'Text'
    );
    private static $searchable_fields = array(
        'Approved',
        'Author',
        'Content'
    );
    private static $summary_fields    = array(
        'Created',
        'Author',
        'Content',
        'Approved'
    );

    function forTemplate() {
        return $this->renderWith('Testimonial');
    }

}<commit_msg>Added default sort to Created DESC<commit_after><?php

class Testimonial extends DataObject {

    private static $db                = array(
        'Author'   => 'Text',
        'Approved' => 'Boolean',
        'Content'  => 'Text'
    );
    private static $searchable_fields = array(
        'Approved',
        'Author',
        'Content'
    );
    private static $summary_fields    = array(
        'Created',
        'Author',
        'Content',
        'Approved'
    );
    private static $default_sort = "Created DESC";

    function forTemplate() {
        return $this->renderWith('Testimonial');
    }

}
{'fraction_non_alphanumeric': 0.12972508591065293, 'fraction_numerical': 0.0, 'mean_word_length': 1.9125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '2329464', 'n_tokens_mistral': 337, 'n_tokens_neox': 331, 'n_words': 78}