You are using the sort name (albumartistsort or artistsort). “The Beatles” would be sorted in a catalogue under “Beatles, The”, and “Bryan Adams” under “Adams, Bryan”.
If you only want to “The” bands sorted in differently but want to keep the person names in “Firstname Lastname” order then use the normal albumartist or artist variables together with the $swapprefix function:
$swapprefix($if2(%albumartist%,%artist%))
See also the following discussions for more details: