def METHOD_NAME(self, results):
    identifiers = []
    hits = []
    for hit in results:
        identifiers.append(hit.identifier)
        hits.append(hit)
    results = list(self.get_queryset().filter(identifier__in=identifiers))
    results.sort(key=lambda x: identifiers.index(str(x.identifier)))
    for result, hit in zip(results, hits):
        result.fields_matched = getattr(hit, "fields_matched", None)
    return results