Added module tag. Mental note to learn about how VisualStudio builds things.
First pass at a topological sort function.