A chronological album sorting plugin for MusicBrainz Picard.
To install the script, run Picard and select Options → Options... → Plugins → Install plugin... and select
albumsort.py. Check the box next to the plugin to enable it.
The plugin modifies track metadata in three ways:
datefield is set to the earliest available date (i.e.
originaldate, whichever is chronologically first).
originaldatefield is also set to the earliest available date.
albumsortfield is set to the album title prefixed with the earliest available date.
If an earliest date is not available, the metadata for the track is not modified.