Desktop User Guides > Professional > Table scripting > Statistical tests > p values > Sorting a table by minimum p values
 
Sorting a table by minimum p values
If you have added a minimum p value column to a column proportions or column means test, you can sort the table on this column, using the following syntax:
TableDoc.Table1.SortColumn = "variablename{MinPVal}"
TableDoc.Table1.SortColumn.Order = 0
This sorts the table in ascending order of the p values, so that the most significant results appear at the beginning of the table.
See also
p values