Closed netalondon closed 3 weeks ago
Let me know when this is rebased and the minimal test is in place.
I updated the test and now I believe it fails on main. Did I miss something?
I opened #339 to keep the insertion sort, which I maintain is the neater and cleaner approach. But this PR was invaluable in tracking down a test case to make sure we got it right both here and for #327
@DavidSouther turns out we did need a proper topological sort. This is part of #327