I'm not sure what you mean.
Do you mean sorting?
albert
....
zelda
zelda
....
albert
Or do you mean changing:
John Smith
Jane Doe
into
Smith, John
Doe, Jane
?
Sorting is each enough. Select the list you want sorted, then choose Table -
Sort (doesn't have to be in a table -- this works on paragraphs and other
non-table lists).
If you mean the second, you might be able to do it using a wildcard
find/replace, depending on how your list is constructed. Look into using
expressions [enclosed by ()] and \n\m where n and m are the order in which
the expression are used. For example, if all I have in the selection is:
John Smith
Jane Doe
Then
Find what

<*>) (<*>)
Replace with: \2, \1
Ensure that Use Wildcards is checked.
....will do it.
If there are sometimes middle initials, sometimes not, sometimes Jr/Sr,
etc., and other complications, then it might be difficult or impossible to
devise a one-size-fixes-all wildcard solution. You might need to resort to a
macro.
If you mean something else, then please explain.