public void setSorting ( boolean value ) { model . setSortingCategories ( value ) ; model . setSortingProperties ( value ) ; sortButton . setSelected ( value ) ; }
Sets sorting properties and categories enabled or disabled .