Sort name of packages