Section.sort MethodThe sort method modifies the sort order of a Results or Table.object.sort (columnName, [order]) Arguments
RemarksThe specified column is added to beginning of the sort list. If the column is already in the sort list, it is moved to the beginning.Example: // Change the sort of a Result to sort primarily by the specified column. ActiveDocument.Sections["R-MyResults"].sort("myColumn"); RequirementsActiveDocument.loadObjectMethods() must be called after the Result/Table is created. |