Is there a way to force an array of feeds to sort on date, even if one feed is missing a time/date stamp?
If I understand correctly, one bad feed in the list messes up sorting. From the description of the SimplePieWP plugin, but presumably a general issue:
'... the plugin also supports what we affectionately call “Multifeeds”. This allows you to >merge multiple feeds together and sort the items by time and date ... notice that I said >“sort the items by time and date.” So, what happens if a feed is missing a time/date->stamp? They won't sort. (Duh.) Sorting by date requires ALL individual items in ALL merged >feeds to have time/date-stamps associated with them.'
I think I regularly see the result of this in my sites; feeds are not sorted on date, posts from the top feed in the array are always at the top etc.
In my set-up it is impossible to manually check each feed for a time/date stamp; the feed lists are too long and/or constantly changing and automatically generated.
Is there code I can add somewhere to just filter out feeds without time/date stamps?
Or to give bad feeds a default time/date in the 1970s, so they sort at the bottom?
Or has this issue already been fixed? Am I missing something?
I've done many searches on this over the years, but have never figured it out.