Example of using Ruby TSort for sorting sequences of inter-dependent jobs