Sort imports.
Sort episodes by file timestamp.

It might be a more flexible approach. If you need a specific order, you can
always touch files in the right order to get the effect you want. Otherwise, if
you simply keep adding new files over time, the feed will be kept in
chronological order, no matter the file names.
Don't populate the link element

We don't have good data for it anyway.