So I have a custom library field: [Date (compilation exception)], with calculated data:
If(IsEqual([Release Type,0],Compilation),FormatDate([Date (release),0],yyyy-MM-dd),FormatDate([Date,0],yyyy-MM-dd))
One can sort by this field in order to have a chronological listing of albums, but it considers the [Date (release)] field for compilations instead of the regular [Date] field because compilations often contain tracks of varying original release dates.
Lately, however, I've been moving away from this method in sorting because it is common for certain (re-release) editions of albums have extra tracks with different original release dates, and I don't favour re-labelling all of these as compilations.
Is there a way to re-write the code for the custom field above so that it simply sorts a whole album by the [Date] of the first file there-in? As it stands, with varying dates across all tracks, MC is calculating an "average" value out of all tracks, which is leading to some...odd and unexpected results (see attachment).