Topological Sorting by I., S.

((-.-.&.>0([wd@>)@{])]{~a:i.~{:"1)^:#split@do;._2':'-.~1!:1]3

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top