tools.ps: sort-by-pid and print headers.