More UiGridLayout orders

Is there a way that I can change the order of a UiGridLayout using scripts? Like I have an IntValue inside the Ui layer it would order it like that?

There’s a property called LayoutOrder in all gui objects. It does exactly what it sounds. Default is 0, so if you change one to 1 then it will be the last, until you change all of them. Because they are all with 0 by default.

Alternative, there’s a property in all UI___Layout that specifies if you want it to order by LayoutOrder or by Name