def METHOD_NAME(state_changes: list) -> str:
    state_changes.sort(key=lambda x: x.get('key'))
    h = hashlib.sha3_256()
    h.update('{}'.format(encode(state_changes).encode()).encode())
    return h.hexdigest()