hi all,
just wondered if i came across a bug in the program.
table summary is known to produce a sorted table by the grouping variable. i just noticed it is not the case if there are value labels (and no value ordering).
for example:
Open( "$SAMPLE_DATA/Big Class.jmp" );
// this will produce a correctly sorted table
Data Table( "Big Class" ) << Summary( Group( :age ), Link to original data table( 0 ) );
// and here is where thing go a bit funny
:age << value labels( {13 = "thirteen"} );
Data Table( "Big Class" ) << Summary( Group( :age ), Link to original data table( 0 ) );