test: sort the pkgs