API Documentation > CorelDRAW > 2025-v26 > DataField > IVGDataField
DataField.Reorder method
Reorders at a new Index
Syntax:
Sub Reorder(ByVal NewIndex As Long)
Parameters:
Name Type Description
NewIndex
Long
Remarks:
The Reorder method reorders the position of a data field in the Object Data Manager docker by assigning a new index number to the data field.
Examples:
The following VBA example moves the Comments field to the top of the list.
Sub Test()
ActiveDocument.DataFields("Comments").Reorder 1 
End Sub