<commit_before>package com.sample.foo.simplerssreader;

import java.util.Comparator;
import java.util.Random;

/*
Date: 08/03/2017
Incoming: #3007
Incoming: #3008
Incoming: #3009
Jack: Created a class for the sorting algorithms used in the application. Returns values used
for sorting the articles. */

public class Sorting implements Comparator<RssFeedModel> {
    private String sortType;

    Random rand = new Random();

    public Sorting(String sortType) {
        this.sortType = sortType;
    }

    /*
    Date: 05/04/2017
    Incoming: #3052<commit_msg>Incoming: #3052 Fixing comments.<commit_after>package com.sample.foo.simplerssreader;

import java.util.Comparator;
import java.util.Random;

/* Date: 08/03/2017
Incoming: #3007
Incoming: #3008
Incoming: #3009
Jack: Created a class for the sorting algorithms used in the application. Returns values used
for sorting the articles. */

public class Sorting implements Comparator<RssFeedModel> {
    private String sortType;

    Random rand = new Random();

    public Sorting(String sortType) {
        this.sortType = sortType;
    }

    /* Date: 05/04/2017
    Incoming: #3052
{'fraction_non_alphanumeric': 0.09202453987730061, 'fraction_numerical': 0.05959684487291849, 'mean_word_length': 3.7385892116182573, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4152242', 'n_tokens_mistral': 398, 'n_tokens_neox': 345, 'n_words': 110}