# AlbumArtistSort and ArtistSort - switch first and last names

**URL:** https://community.mp3tag.de/t/albumartistsort-and-artistsort-switch-first-and-last-names/55992
**Category:** Mac
**Created:** [January 22, 2022, 5:10am UTC](https://community.mp3tag.de/t/albumartistsort-and-artistsort-switch-first-and-last-names/55992 "2022-01-22T05:10:22Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 22, 2022, 8:32am UTC](https://community.mp3tag.de/t/albumartistsort-and-artistsort-switch-first-and-last-names/55992/2 "2022-01-22T08:32:26Z")

</div>

Please see the [documentation on Mac's action to replace with regular expression](https://community.mp3tag.de/t/quick-actions-and-action-groups/51882)  
This shows that a different syntax from the WIndows version is used.

On the other hand: why do you need to swap as I bet that this field is really only used for sorting but the player then shows the contents of the non-sort field.  
And that would mean that you don't need the swap but you only have to remove the first part of the name (or the "the"). I doubt that you really need the full name for sorting.  
And this leads to the next advice: why use complicated and apparently incomprehensible expressions if the purpose does not require it. Keep it as simple as possible, would be my motto.

---

_[View the full topic](https://community.mp3tag.de/t/albumartistsort-and-artistsort-switch-first-and-last-names/55992)._
