Pkg2: sort available pacakges alphabetically; fix urlpkg regex.