Sort the resolution results

Sort the resolution results so the ordering of the repositories doesn't matter, but the content of the
versions do.