get all packages and sort them by name