Sort contacts by last_seen when sending broadcasts to them