<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse(integrity):
 """Returns a list of subresource integrity Hash objects parsed from a str Hash objects are put in descending order of algorithmic strength Unrecognised hash algorithms are discarded [] """

    matches = _INTEGRITY_PATTERN.findall(integrity)
    matches.sort(key=lambda t: RECOGNISED_ALGORITHMS.index(t[0]))
    return [Hash.fromhash(*match) for match in matches]