add sorting capable for table