Reordering of installing the packages