reorderColumns
Applicable only on auto-layout frames with layoutMode set to "GRID".
Moves one or more columns to a new position in the grid, shifting other columns as needed.
Signature
reorderColumns(options: GridTrackReorderOptions): ReadonlyArray<GridTrackReorderEntry>
Remarks
If a child in one of the selected columns spans multiple columns, all of those spanned columns are automatically included in the move. The returned array describes both the input tracks and any tracks that were added implicitly due to spanning.
All values in fromIndices must be in the range [0, gridColumnCount) and insertionIndex
must be in the range [0, gridColumnCount], otherwise an error will be thrown. If an error
is thrown, the grid is left unchanged.