topological sorting
Lining up the vertices of a directed acyclic graph so every edge points from an earlier vertex to a later one.
A topological sort of a directed acyclic graph (DAG) is a linear ordering of its vertices such that for every directed edge u\to v, u comes before v in the ordering.
See also
Point table
Graph settings
Calculator