@staticmethod
def result_sorter(result):
    """
        Method to sort the results for the refmap. Order:
        - CCode does not contain "x", "P", "p" (i.e. fragments on opposite strand or
        polymerase run-on fragments)
        - Exonic F1 (e_f1)
        - Junction F1 (j_f1)
        - "f" in ccode (i.e. transcript is a fusion)
        - Nucleotide F1 (n_f1)

        :param result: a resultStorer object
        :type result: ResultStorer
        :return: (int, float, float, float)
        """
    bad_ccodes = ['x', 'X', 'P', 'p']
    bad_ccodes = set(bad_ccodes)
    orderer = len(set.intersection(bad_ccodes, set(result.ccode))
        ) == 0, result.j_f1, result.e_f1, result.n_f1, 'f' in result.ccode
    return orderer
