Table sorted and on click of map table filter added