Auto entities and sun attributes sorted by date/time

Hello,
A quick question : I’m trying to use auto-entities to sort “sun.sun” attributes by time (ascending).
As you can see in the screen shot attached, by default these attributes are not sorted by time when using the regular card “entities”.
I’ve put numbers in front of attributes to show sequence I’m expecting.
It is the morning here, so the next event is “noon”. Of course if I connect at 9PM, the next event will be midnight.
I tried to use auto entities but I can’t get the expected sequence, even using the individual entities “sensor.sun_next_dawn”, “sensor.sun_next_setting”, etc…
If you have the answer, could you copy/paste it ?

Thanks
Regards
Alei69
PS : I didn’t find a useful category/tag for that topic.

Does it have to be via auto-entities?
There are other options, e.g. flex-table-cardt

type: custom:flex-table-card
sort_by: state
entities:
  include: sensor.sun_*
columns:
  - name: nom
    data: friendly_name
  - name: datetime
    data: state

Thanks, it is what I wanted to get.
And the key “auto_format:” gives me the correct format.

Alei69