An accepted way of combining two hashes from different objects is to use XOR. This makes sense, but as mentioned in the second comment by Thomas Pornin in the below post, XOR is commutative, which means that if you hash each element in a set and combine them with XOR, any order that you do it will always result in the same hash:
Why is XOR the default way to combine hashes?
What is a good way to combine hashes that you want to be order dependent? If it is specific to the size, what are some known techniques for 32 bit and for 64 bit?