Its the same as any other sort algorithm -- when you need to swap just swap Person pointer in the PersonList structure.
It would be a lot easier to convert the linked list to an array of pointers into the linked list, then sort that array.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343