(m) Sort dependencies
Add spec for `dupes_in`