class Bundler::PubGrub::BasicPackageSource
def sort_versions_by_preferred(package, sorted_versions)
If not overridden, the order returned by all_versions_for will be used
Override me (maybe)
def sort_versions_by_preferred(package, sorted_versions) indexes = @version_indexes[package] sorted_versions.sort_by { |version| indexes[version] } end