I currently use a top level Expression to divide my albums up into
Multiple Artist Compilations and Single-Artist Albums
But if one of the artists for whom I have entire records also has tracks on a compilation, they will appear in both places. I use the custom field "Primary Artist" to indicate which artists' tracks should appear in both places. This is the Expression:
if(isempty([Primary Artist]), /(Multiple Artists/),
[All Artists (Last Name)])/
ifelse(isequal([album artist (auto)], /(Multiple Artists/)), ;/(Multiple Artists/))&datatype=[
]
Now, what I'd like to do is introduce an alphabetical grouping on the next level down for the Single-Artist Albums. For now I get a list of artists, sorted by last name, displayed by first. It's nice. But I have too many artists.
What expression language will I need to use to get an A - Z alphabet on the next level down from the main artists, but such that in the As, for example, I only have the primary artists albums grouped together by artist?
First level: (Multiple Artists) - Main Artists
Second level from Main Artists: A, B, C, D .... Z
Third level down from each letter: A-ha, A.R. Kane, AAYL Trio, etc...