ENH: add reverse kwarg for topo sort
MAINT: use reverse=True for some topological_sort calls
Merge pull request #1056 from argriffing/reverse-topo-sort

ENH: add reverse kwarg for topo sort