Second post, so as not to confuse my opinions with the standards decided (which I will put in that post).
The sort by criteria I currently use are as follows:
Album (this is the default that comes with pUI 0.9+)
CODE
Primary sort: $if(%single%,!single,%album%)
Secondary sort: %discnumber% %tracknumber% %title%
Group by: empty
Artist
Primary sort - uses $upper(%artist%) so that case sensitivity is ignored.
CODE
$if($get(artist),,$put(artist,$upper(%artist%)))
$if($stricmp($get(artist),various),
!various %album%
,
$get(artist)
)
Secondary:
CODE
%date% %title%
Tracknumber - Note: different to title. I feel sorting by title should sort alphabetically by title name.
Primary Sort:
CODE
%discnumber% %tracknumber%
Folder/Path - I have found this particularly helpful in grouping mp3s with erroneous or inconsistent tags, for example in albums just downloaded. Provided they are in the same folder they will be grouped together. I generally use this over the Album sort and group.
Primary Sort:
CODE
$replace(%path%,%filename_ext%,)
Secondary Sort:
CODE
%tracknumber%
Group by:
CODE
$replace(%path%,%filename_ext%,)
RandomPrimary Sort & Secondary Sort:
CODE
$rand()
TitlePrimary Sort
CODE
%title%
Secondary Sort - sort by artist if two tracks have the same name.
CODE
%artist%
If no title exists then it should probably sort by filename.
Other criteriaI haven't implemented these yet but I see a need for them - Sorting by track format e.g. mp3, flac, etc., Sorting by Track Length, Size, Rating, "%ALBUM ARTIST%" (to separate VA albums from the rest?).
I am slightly confused - in sort criteria there is a group by code panel and a group by check box. Then in the playlist edit there are the two checkboxes group and sort. Something seems redundant here, if everything had grouping enabled we could easily turn it off in our presets. Or alternatively, we could turn it off before making our presets. I think the former is more powerful but will need smarter preset use.