Don't return stale results
Don't return stale results

Ordering by just the TS won't work for picking the most recent
per threepid: need to order by threepid then ts.

matrix-org/sydent,matrix-org/sydent,matrix-org/sydent