Enabled sorting of table