Some other sites had Croatia top because of the better goal difference.
But I saw an explanation for Wales top on the BBC: it was down to the head-to-head v Croatia and Wales were above them because of the away goal!
Not sure if that is right or not, but the BBC must have had some justification for the table order.