Topological sorting is just "depth first traversal" in a trench coat. I have implemented it thrice in my day job.
It is actually more commonly implemented than any other algorithm in CS course