Generalized Topological Sorting in Linear Time. - Torben Hagerup; Martin Maas 003 (FCT, 1993)