Is this inside a customization? If so enter the screen in developer mode, move the column where you want it, right click save layouts, enter customization mode, change anything (a pixel position change of a control, a return in the script, anything) save. It should save your column order that way.
yes once you enter customization mode and make a change and save it, it captures your personalization. it’s super hinky but it does work. For example if you do it on a screen without a customization selected. The screen will ask you to make one if you do save layouts. Not intuitive at all no