Given Probability Flash card

why does the order matter here? like GGBB has number of ways, but aren’t all those same? GBBG or anything has 2 girls and 2 boys. unless this relates to the order of birth as well

the question never mentions the order of birth what if children were already born then we calculating like if there are 4 sweets, and sweets can be only choc or strawbeery if atleast 2 sweets are choc, what is the prob that all are choc?

The order of birth matters as every new variation of the boys and girls leads to a new case, that needs to be considered to calculate the total number (denominator).