There are a few thing not correct here.
The most important is that the pin numbering does not match the funcion. Look carefully at the numbers and the names of the pins.
Second thing is to make a distinction between schematic symbols and PCB footprints. Schematic symbols are for Humans. Therefore, group pins by function, try to keep GND on the bottom and the power supply on the top, and in general signals flow from left to right.
The PCB footprint is what you will put on the PCB eventually. These pads on it do not have hames at all, but just the numbers. And the matching is done with the numbers in the schematic symbol. Therefore it is important that the numbers match.