master
topologicalSort
var topologicalSort = function(nodes, al) { var sortedNodes = [], edgeCounts = {}, len = nodes.length, nodeId,