Fix order of the old and new packages shown in the upgrade dialog