Factor out sorting the manifests in the resolver into a separate method, and permit the method to take both an array and a hash of fully-resolved manifests.
Factor out sorting the manifests in the resolver into a separate method, and permit the method to take both an array and a hash of fully-resolved manifests.

carlossg/librarian,afex/librarian,applicationsonline/librarian