Sort the output of pdb list