orchardup/fig — pull request #91 by barnybug (2014-02-12 09:12:31+00:00)
Title: Implement topological sort using Cormen/Tarjan algorithm to handle a->b->c dependencies and detect a->b->c->a cycles.

Noticed a couple of cases the existing algorithm doesn't handle - see test cases.
Please merge pull request. thanks.