tools.deps seems to return different results based on the order the dependencies are placed inside the dependency map.
That is,
{:deps {a/a {:dep :data}
b/b {:dep :data}}}
and
{:deps {b/b {:dep :data}
a/a {:dep :data}}}
may return different results. I would expect the order in the dependency map to not matter.
I have attached a patch with a minimal reproducible test case for this issue, which currently fails.