Kodi ver 18. Estuary skin. Music Library sorted by artist and displays The Beatles correctly under T and not B
but the album The Alternate Revolver is between Abby Road and Beatles for Sale and not in Sgt. Pepper
Ignore articles when sorting is unchecked
Any advice on sorting please
Looking at that Musicbrainz entry it's named on there Alternative Revolver and is not prefixed by The so does the Kodi entry actually contain The in the title?
That was perhaps a bad example was I was trying to get help on was that although the Artists sort correctly with bands with "The" in the title are in the T section but album names ignore "The" and show the album names out of sequence
I suspect that you may be seeing a sorting anomoly that comes from a fundamental flaw in the way that sorting is implemented, and nothing to do with ignoring articles.
What sort order are you looking at? Do you see the albums in the correct/expected order when looking at the albums node (all the albums) sorted by "Album"? Does the odd order occur when looking at albums but sorted by "Artist" (implicitly this is a multi-field sort of artist name and abum title)?
Multi-field sorting, and most sort orders actually involve more than one field despite how they are named, has been implemented by a simple field contatenation approach. For example sorting album by "Artist", it combines artist name and album title into a single string and sorts that. Most times that works adequately, but it does not always give the same results as ordering first by artist name and then ordering those with same artist name by album title would give.
I have it on my todo list to refactor sorting, but it is a big job and meanwhile very few people notice that sorting has the glitch. It is discussed
here
Well that is my best guess anyway.
I have the library sorted by Artist and they show in the correct order"The Beatles" are in the T section. I have the icon view selected and it shows the cover with the album name & artist displayed. This is where I have a problem if the title is The Beatles Story it comes after Beatles for Sale and is not alphabetically correct
I repeat, I believe you are experiencing a longstanding and known bug but you don't provide enough information for me to be absolutely sure.
Is it when you are viewing just the albums by The Beatles, having say clicked them in the list of artists, and the albums are sorted by Album or by Artist? Or when you are viewing all albums, say having clicked on the albums node, and again with what sort on that node?
Perhaps post some screen shots?