In my group if the wins go as expected the top 3 in the group could all finish on 12 points

How is it worked out who goes though as there is no goals difference in the CL like the league

Its a bit confusing sorry but thanks in advance for answering