add `toposort.array(nodes, edges)`
docs
avoid mutating arguments of `toposort.array`
typo
Merge pull request #6 from jkroso/array

seperate out an array sorting function