sorting packages of project: need to consider all packages that are provided by the source package