Reverse sorting, and sorting by pid