def serialize(self):
        res = []
        for _sort in self.sort_orders:
            res.append(_sort.serialize())
        return res or None
Tries to find out if uspec1 and uspec2 are uspecs from the same device
dataset/ETHPy150Open aparo/pyes/pyes/sort.py/SortFactory.serialize--crossover with--dataset/ETHPy150Open openstack/bareon/bareon/utils/hardware.py/match_device