Indeed, the order does not matter.
Just FYI: Athom once explained how the sunset/sunrise flowcards work and thus when the ‘it is after sunset’ and ‘it is after sunrise’ flowcards return true of false. Or at least, that is how it should work.
Since the sunset/sunrise conditions go beyond the current day and continue into the next day, this might result into some unexpected results when creating flows.
I created a picture, based on Athom’s linked explanation, on when the two conditions are true/false:
