该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


Sort() rearranges the rows of a table according to the values of one or more columns, either replacing the current table or creating a new table with the results. Specify ascending or descending sort for each By column.
The following example creates a new data table based on Big Class.jmp that sorts the data in descending order by age and by name:
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
output table name( "Sorted age name" ) );