def toposort(dependencies):
    s = Sorter(dependencies)
    return s.sort()
L{Protocol} instances provide L{IProtocol} and L{ILoggingContext}.
dataset/ETHPy150Open sahana/eden/static/scripts/tools/toposort.py/toposort--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/internet/test/test_protocol.py/ProtocolTests.test_interfaces