added ability to sort and filter table rows