package: pault.ag/go/topsort
source: https://github.com/paultag/go-topsort