changed manager.py in packages. Changed pkg_list to sort list