support custom order in generated feeds (closes #709)