public TableRowSorter (M model)

Creates a TableRowSorter using model as the underlying TableModel.

Parameters:
model    the underlying TableModel to use, null is treated as an empty model