order by date and by sequence