We need to do topological sorting in windows environment.
In Unix , there is a utility tsort to do topological sorting. Is there any equvalent utility/cmdlet available in windows?
We need to do topological sorting in windows environment.
In Unix , there is a utility tsort to do topological sorting. Is there any equvalent utility/cmdlet available in windows?
The GNU Core Utilities for Windows has a port of tsort.
The related question Does anyone have a Dependency graph and topological sorting code snippet for PowerShell? has a reference to C# code, as well as recommendations in a comment for how to use it with PowerShell.
The Rosetta Code project has a page showing implementation of topological sorting in many languages.