Make an action group with these actions:
Action #1:
Action type: Format value
Field: ARTISTSORT
Formatstring: %artist%
Action #2:
Action type: Replace with regular expression
Field: ARTISTSORT
Regular expression: ^(.+)\s(.+)$
Replace matches with: $2, $1