method
tsort
v1_9_2_180 -
Show latest stable
- Class:
TSort
tsort()public
Returns a topologically sorted array of nodes. The array is sorted from children to parents, i.e. the first element has no child and the last node has no parent.
If there is a cycle, TSort::Cyclic is raised.