When calculating the specs.4.8.gz index in a local repository, we collect all the packages by property search and write them into the index file.
This file is expected to be ordered (ascending) for other RubyGems related operations (like extracting the latest when doing "gem list rake --remote").
We should sort the packages list before writing them to the global index file.