To set the one click sorting for a Table Box() this is done by passing the
tb << Set Click Sort( 1 );
message to the table box.
Documentation can be found in the Scripting Index
The conditional Highlighting is found under the Format Column Option of a Table Box(). Look to the Semantic Formatting and Use Underlying Conditional Highlighting.
Jim