modify sorting by date_entered: set date_entered per-batch; use updated as a secondary criteria