Nodes and Tables.Packages.PkgSet.simple_sort_pkgs
Documentation
Sort packages by name, flavor, and type. Put the results in sorted.