sort sync logs by date, then seq id (so they sort correctly on cloudant)