.pi command
command
Pipe the formatter output through a UNIX command, instead of placing it on standard output (ditroff and nroff only). Request must occur before any output.
.pi /bin/sort \" Sort the output (which follows)