def bigint_to_int(mtime):
    if isinstance(mtime, bytes):
        return int.from_bytes(mtime, 'little', signed=True)
    return mtime
For sorting.
dataset/ETHPy150Open jborg/attic/attic/helpers.py/bigint_to_int--crossover with--dataset/ETHPy150Open andrew-gardner/dependsworkflow/depends/depends_node.py/DagNode.__lt__