Partition order with kickstart

In my kickstart, I am partitioning my drive as:

part biosboot --fstype=“biosboot” --ondisk=sda --size=1
part /boot --size=1024 --fstype=“ext4” --ondisk=sda
part swap --fstype= “swap” size=2048 --ondisk=sda
part / --maxsize=1024 --grow --fstype=“ext4” --ondisk=sda --asprimary

But the result is that the swap partition is placed last, after the ‘/’ partition:

sda 8:0 0 150G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 1G 0 part /boot
├─sda3 8:3 0 147G 0 part /
└─sda4 8:4 0 2G 0 part [SWAP]

Is the swap always placed last now?

TIA

ken