Allows the date to be set as metadata and not on filename.

This includes changing how the entires are sorted since before it was relying
on the filename, now they can be sorted by the date.