enabled sorting of table