apt-sortpkgs --version (return code: 0)
apt 1.2.19 (amd64)
apt-sortpkgs --help (return code: 0)
apt 1.2.19 (amd64)
Usage: apt-sortpkgs [options] file1 [file2 ...]
apt-sortpkgs is a simple tool to sort package information files.
By default it sorts by binary package information, but the -s option
can be used to switch to source package ordering instead.
See apt-sortpkgs(1) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).