Here is two causes why made the manufacturers two windings:1. the PCB transformers for low profile the primary and secondary 2-2 independent windings, 2*120 and 2*12 etc. 2.With two secondary need only two diodes for full-wawe rectification.
If You need really only one 12V, choose the 2*6V type and connect the secondaryes serial.
For an inverter (from 12VDC to 220VAC) also better the two secondary type, in this case need only two power transistors, but i recommend the 2*9V secondary.