def METHOD_NAME():
    """Return two lists with the unlinked references that have a doi or an arxiv id.
    If the reference read has a doi or an arxiv id, it is stored in the data structure.
    Once all the data is read, it is ordered by most relevant to less relevant."""
    result_doi, result_arxiv = defaultdict(lambda: (0, 0)), defaultdict(lambda: (0, 0))
    linked_ids = defaultdict(lambda: (0, 0))
    data = get_all_unlinked_references()
    for reference in data:
        dois = get_value(reference, 'reference.reference.dois', [])
        arxiv_id = get_value(reference, 'reference.reference.arxiv_eprint')
        if arxiv_id and len(dois) > 0:
            for doi in dois:
                increase_cited_count(linked_ids, (doi, arxiv_id), reference["core"])
        for doi in dois:
            increase_cited_count(result_doi, doi, reference["core"])
        if arxiv_id:
            increase_cited_count(result_arxiv, arxiv_id, reference["core"])
    add_linked_ids(result_doi, result_arxiv, linked_ids)
    result_doi = order_dictionary_into_list(result_doi)
    result_arxiv = order_dictionary_into_list(result_arxiv)
    return result_doi, result_arxiv