Re-ordering package index by version