How to package some data pens into a collection, click on them, and then expand them according to the ID?

situation: uncertain orders are generated every day
suppose there are eight orders generated today

id / status

1 / 
2 / 
3 / 
4 / 
5 / 
6 / 
7 / 
8 / 

I use loops to change the status of these eight orders to "shipping"

.

question:
how can I turn these eight strokes into a collection? (storage)
when the assumption becomes shipping, I can give one of these eight ID
and then hang a date suppose 2018-11-11 16:40:00 (I turn these eight orders into shipping at this point in time)
and give an ID

suppose there were six strokes yesterday

id / status

11 / 
12 / 
13 / 
14 / 
15 / 
16 / 

I also change the status to shipping
will also generate a separate ID, and add a date such as 2018-11-10 11:32:00

so there will be a list on the other page that will display

2018-11-11 16:40:00
2018-11-10 11:32:00

when I click on 11-11, I can see the eight orders (related data)
when I click on 11-10, I can see the six
yesterday. How can this be achieved? How to collect the current operation? Give ID and display?

Dec.03,2021

I have solved the problem!

Menu