- Improved tsort.