Change the PackageIndex invariant so the buckets are ordered
Each bucket holds packages with the same name case-insensitively. Previously each buckets was internally unordered. Now they're ordered by the full package id which means first by package name case-sensitively and then by version.
Showing with 41 additions and 27 deletions